Skip to content

Commit fd7e0e2

Browse files
authored
feat(matter): enables PSRAM memory allocation mode
1 parent 5fd0bc7 commit fd7e0e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configs/defconfig.common

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ CONFIG_ENABLE_ESP_INSIGHTS_TRACE=n
132132
CONFIG_ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE=y
133133
# Do not use minimal mDNS within Matter Core
134134
CONFIG_USE_MINIMAL_MDNS=n
135+
# Changes Matter Memory Allocation Mode to use the default malloc() that can use PSRAM is enabled
136+
CONFIG_ESP_MATTER_MEM_ALLOC_MODE_DEFAULT=y
137+
# Disable default mode that only allocates memory from DRAM
138+
CONFIG_ESP_MATTER_MEM_ALLOC_MODE_INTERNAL=n
135139

136140
#TinyUSB Config
137141
CONFIG_TINYUSB_CDC_MAX_PORTS=2

0 commit comments

Comments
 (0)