feat: Initialize ESP-IDF project with Zigbee HA_on_off_switch example

- Added .devcontainer configuration for development environment.
- Created .gitignore to exclude unnecessary files.
- Configured C/C++ properties for ESP-IDF in VSCode.
- Set up launch configurations for debugging.
- Defined project settings for ESP-IDF in VSCode.
- Created CMakeLists.txt for project build configuration.
- Added README.md with project overview and usage instructions.
- Established dependencies for Zigbee libraries in dependencies.lock.
- Implemented main application logic in esp_zb_switch.c and esp_zb_switch.h.
- Developed switch driver functionality in switch_driver.c and switch_driver.h.
- Configured partition table in partitions.csv for NVS and application storage.
- Set default SDK configuration in sdkconfig.defaults for project settings.
This commit is contained in:
2026-01-15 21:46:31 +00:00
commit a05ac96d97
18 changed files with 1038 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "${config:idf.toolsPathWin}\\tools\\xtensa-esp-elf\\esp-14.2.0_20251107\\xtensa-esp-elf\\bin\\xtensa-esp32-elf-gcc.exe",
"compileCommands": "${config:idf.buildPath}/compile_commands.json",
"includePath": [
"${config:idf.espIdfPath}/components/**",
"${config:idf.espIdfPathWin}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
],
"version": 4
}