Skip to content

Commit e673b94

Browse files
committed
Merge branch 'example/fix-tc-rr' into 'main'
example: configure the max dynamic endpoint count for all the examples See merge request app-frameworks/esp-matter!1236
2 parents 52b4b92 + 06afbf4 commit e673b94

File tree

15 files changed

+45
-0
lines changed

15 files changed

+45
-0
lines changed

examples/door_lock/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ CONFIG_PARTITION_TABLE_OFFSET=0xC000
1818
# Enable chip shell
1919
CONFIG_ENABLE_CHIP_SHELL=y
2020

21+
# This example only use 2 dynamic endpoints
22+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
23+
2124
#enable lwIP route hooks
2225
CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT=y
2326
CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT=y

examples/generic_switch/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ CONFIG_ENABLE_CHIP_SHELL=y
1919

2020
CONFIG_ENABLE_WIFI_AP=n
2121

22+
# This example only use 2 dynamic endpoints
23+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
24+
2225
#enable lwIP route hooks
2326
CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT=y
2427
CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT=y

examples/icd_app/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ CONFIG_ENABLE_WIFI_AP=n
2323
# Enable HKDF in mbedtls
2424
CONFIG_MBEDTLS_HKDF_C=y
2525

26+
# This example only use 2 dynamic endpoints
27+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
28+
2629
# NIMBLE
2730
CONFIG_BT_ENABLED=y
2831
CONFIG_BT_NIMBLE_ENABLED=y

examples/light/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ CONFIG_ENABLE_WIFI_AP=n
2424
CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT=y
2525
CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT=y
2626

27+
# This example only use 2 dynamic endpoints
28+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
29+
2730
# Button
2831
CONFIG_BUTTON_PERIOD_TIME_MS=20
2932
CONFIG_BUTTON_LONG_PRESS_TIME_MS=5000

examples/light/sdkconfig.defaults.c5_wifi_thread

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ CONFIG_LWIP_IPV6_AUTOCONFIG=n
2525
CONFIG_PARTITION_TABLE_CUSTOM=y
2626
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
2727

28+
# This example use 3 dynamic endpoints: RootNode, light, and secondary network commissioning
29+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=3
30+
2831
# LwIP config for OpenThread
2932
CONFIG_LWIP_IPV6_NUM_ADDRESSES=8
3033
CONFIG_LWIP_MULTICAST_PING=y

examples/light/sdkconfig.defaults.c6_wifi_thread

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ CONFIG_BUTTON_LONG_PRESS_TIME_MS=5000
4747
# Enable chip shell
4848
CONFIG_ENABLE_CHIP_SHELL=y
4949

50+
# This example use 3 dynamic endpoints: RootNode, light, and secondary network commissioning
51+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=3
52+
5053
# ESP32-C6-DevKitM-1 Settings
5154
# Buttons
5255
CONFIG_BSP_BUTTONS_NUM=1

examples/light_network_prov/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,8 @@ CONFIG_ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER=y
7575
CONFIG_ENABLE_ESP32_DEVICE_INFO_PROVIDER=y
7676
CONFIG_SEC_CERT_DAC_PROVIDER=y
7777

78+
# This example only use 2 dynamic endpoints
79+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
80+
7881
# Enable Newlib nano format for flash optimization
7982
CONFIG_NEWLIB_NANO_FORMAT=y

examples/light_switch/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ CONFIG_PARTITION_TABLE_OFFSET=0xC000
1818
# Enable chip shell
1919
CONFIG_ENABLE_CHIP_SHELL=y
2020

21+
# This example only use 2 dynamic endpoints
22+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
23+
2124
CONFIG_ENABLE_WIFI_AP=n
2225

2326
#enable lwIP route hooks

examples/managed_component_light/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ CONFIG_MBEDTLS_HKDF_C=y
4444
# unique local addresses for fabrics(MAX_FABRIC), a link local address(1)
4545
CONFIG_LWIP_IPV6_NUM_ADDRESSES=6
4646

47+
# This example only use 2 dynamic endpoints
48+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
49+
4750
# ESP32-DevKitC Settings
4851
# Buttons
4952
CONFIG_BSP_BUTTONS_NUM=1

examples/ota_provider/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ CONFIG_MBEDTLS_HKDF_C=y
3636
# unique local addresses for fabrics(MAX_FABRIC), a link local address(1)
3737
CONFIG_LWIP_IPV6_NUM_ADDRESSES=6
3838

39+
# This example only use 2 dynamic endpoints
40+
CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=2
41+
3942
# Enable OTA provider, use TestNet
4043
CONFIG_ESP_MATTER_OTA_PROVIDER_ENABLED=y
4144
CONFIG_ESP_MATTER_OTA_PROVIDER_DCL_TESTNET=y

0 commit comments

Comments
 (0)