Skip to content

Commit 5b2d9dd

Browse files
committed
[nrfconnect] Reconfigure memory pool sizes
With introduction of dedicated memory pools for nRF70 Wi-Fi driver, redistribute current heap size among the driver heap and kernel heap. Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
1 parent d360f55 commit 5b2d9dd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

config/nrfconnect/chip-module/Kconfig.defaults

+10-1
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,18 @@ config SYSTEM_WORKQUEUE_STACK_SIZE
5353
default 2560 if CHIP_WIFI
5454
default 2048 if CHIP_ICD_LIT_SUPPORT
5555

56+
if CHIP_WIFI
5657
config HEAP_MEM_POOL_SIZE
57-
default 110720 if CHIP_WIFI
58+
default 48336 if BUILD_WITH_TFM
59+
default 40144
60+
61+
config NRF_WIFI_DATA_HEAP_SIZE
62+
default 50576 if BUILD_WITH_TFM
63+
default 42384
5864

65+
config NRF_WIFI_CTRL_HEAP_SIZE
66+
default 20000
67+
endif # CHIP_WIFI
5968
config HEAP_MEM_POOL_IGNORE_MIN
6069
default y if CHIP_WIFI
6170

0 commit comments

Comments
 (0)