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
+7
View File
@@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size, Flags
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 900K,
zb_storage, data, fat, 0xf1000, 16K,
zb_fct, data, fat, 0xf5000, 1K,
1 # Name, Type, SubType, Offset, Size, Flags
2 # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
3 nvs, data, nvs, 0x9000, 0x6000,
4 phy_init, data, phy, 0xf000, 0x1000,
5 factory, app, factory, 0x10000, 900K,
6 zb_storage, data, fat, 0xf1000, 16K,
7 zb_fct, data, fat, 0xf5000, 1K,