diff --git a/configs/defconfig.common b/configs/defconfig.common index 911bf79a..abab83e0 100644 --- a/configs/defconfig.common +++ b/configs/defconfig.common @@ -132,6 +132,10 @@ CONFIG_ENABLE_ESP_INSIGHTS_TRACE=n CONFIG_ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE=y # Do not use minimal mDNS within Matter Core CONFIG_USE_MINIMAL_MDNS=n +# Changes Matter Memory Allocation Mode to use the default malloc() that can use PSRAM is enabled +CONFIG_ESP_MATTER_MEM_ALLOC_MODE_DEFAULT=y +# Disable default mode that only allocates memory from DRAM +CONFIG_ESP_MATTER_MEM_ALLOC_MODE_INTERNAL=n #TinyUSB Config CONFIG_TINYUSB_CDC_MAX_PORTS=2 diff --git a/configs/defconfig.esp32 b/configs/defconfig.esp32 index 63bec306..ecfa1b1b 100644 --- a/configs/defconfig.esp32 +++ b/configs/defconfig.esp32 @@ -23,3 +23,6 @@ CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 # Matter settings: CONFIG_ENABLE_CHIPOBLE=n +# increase the maximum number of endpoints per device +CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=32 + diff --git a/configs/defconfig.esp32c6 b/configs/defconfig.esp32c6 index 0994f0d8..a10bf333 100644 --- a/configs/defconfig.esp32c6 +++ b/configs/defconfig.esp32c6 @@ -50,6 +50,8 @@ CONFIG_ENABLE_MATTER_OVER_THREAD=y # Set endpoint id for Thread and Wi-Fi, depending on the secondary network interface endpoint id. CONFIG_THREAD_NETWORK_ENDPOINT_ID=2 CONFIG_WIFI_NETWORK_ENDPOINT_ID=0 +# increase the maximum number of endpoints per device +CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=32 # # Zigbee diff --git a/configs/defconfig.esp32s3 b/configs/defconfig.esp32s3 index 2de36882..c8066702 100644 --- a/configs/defconfig.esp32s3 +++ b/configs/defconfig.esp32s3 @@ -29,3 +29,6 @@ CONFIG_LCD_RGB_RESTART_IN_VSYNC=y # Matter settings: CONFIG_ENABLE_CHIPOBLE=y +# increase the maximum number of endpoints per device +CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT=32 +