Merge branch 'examples/update_zigbee_sdk' into 'main'

example: Update the managed components(esp-zigbee-lib and esp-zboss-lib) for zigbee bridge example

See merge request app-frameworks/esp-matter!583
This commit is contained in:
Shu Chen
2023-12-28 11:25:51 +08:00
5 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ examples/controller:
examples/zigbee_bridge:
enable:
- if: IDF_TARGET in ["esp32"]
- if: IDF_TARGET in ["esp32s3"]
temporary: true
reason: the other targets are not tested yet
+6 -3
View File
@@ -29,15 +29,18 @@ Connect the two SoCs via UART, below is an example setup with ESP32-S3 DevKitC a
### 1.2 Build and flash the RCP (ESP32-H2)
Please use the [esp_zigbee_rcp](https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_rcp) example in esp-zigbee-sdk repository to build the RCP for the ZigBee Bridge.
```
cd ${IDF_PATH}/examples/zigbee/esp_zigbee_rcp/
git clone https://github.com/espressif/esp-zigbee-sdk.git
cd esp-zigbee-sdk/examples/esp_zigbee_rcp/
idf.py set-target esp32h2
idf.py -p <port> build flash
```
**Note**: The two SoCs on the Zigbee Gateway DevKit board use USB ports while the standalone DevKit boards use UART ports.
### 1.3 Build and flash the Bridge (ESP32S3)
### 1.3 Build and flash the Bridge (ESP32-S3)
For Standalone DevKit boards:
@@ -91,7 +94,7 @@ Data = [
Build and run Zigbee Bulb app on another ESP32-H2 board.
```
cd ${IDF_PATH}/examples/zigbee/light_sample/HA_on_off_light
cd /path/to/esp-zigbee-sdk/examples/esp_zigbee_HA_sample/HA_on_off_light
idf.py set-target esp32h2
idf.py -p <port> build flash monitor
```
@@ -1,7 +1,7 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp-zboss-lib: "~0.5.0"
espressif/esp-zigbee-lib: "~0.7.0"
espressif/esp-zboss-lib: "~1.0.0"
espressif/esp-zigbee-lib: "~1.0.0"
## Required IDF version
idf:
version: ">=5.0.0"
@@ -50,3 +50,6 @@ CONFIG_MBEDTLS_HKDF_C=y
# Increase LwIP IPv6 address number to 6 (MAX_FABRIC + 1)
# unique local addresses for fabrics(MAX_FABRIC), a link local address(1)
CONFIG_LWIP_IPV6_NUM_ADDRESSES=6
# Increase matter console stack size
CONFIG_ESP_MATTER_CONSOLE_TASK_STACK=3072
@@ -48,3 +48,6 @@ CONFIG_MBEDTLS_HKDF_C=y
# Increase LwIP IPv6 address number to 6 (MAX_FABRIC + 1)
# unique local addresses for fabrics(MAX_FABRIC), a link local address(1)
CONFIG_LWIP_IPV6_NUM_ADDRESSES=6
# Increase matter console stack size
CONFIG_ESP_MATTER_CONSOLE_TASK_STACK=3072