From dcd59030f8c4c1a0824641e1bf1ff58e47d30972 Mon Sep 17 00:00:00 2001 From: Kamil Kasperczyk Date: Mon, 20 Jan 2025 11:36:36 +0100 Subject: [PATCH] [nrfconnect] Moved 54L specific configs to defaults Increased the malloc heap size for 54L and moved MPSL stack size config to defaults, as it was set in all Matter samples. Signed-off-by: Kamil Kasperczyk --- config/nrfconnect/chip-module/Kconfig.defaults | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/nrfconnect/chip-module/Kconfig.defaults b/config/nrfconnect/chip-module/Kconfig.defaults index 59e6f55fe7..b0750935cf 100644 --- a/config/nrfconnect/chip-module/Kconfig.defaults +++ b/config/nrfconnect/chip-module/Kconfig.defaults @@ -60,8 +60,12 @@ config HEAP_MEM_POOL_IGNORE_MIN default y if CHIP_WIFI config CHIP_MALLOC_SYS_HEAP_SIZE + default 10240 if SOC_SERIES_NRF54LX # nRF54L requires more memory due to crypto backend default 8192 if NET_L2_OPENTHREAD +config MPSL_WORK_STACK_SIZE + default 2048 if SOC_SERIES_NRF54LX # nRF54L requires more memory due to crypto backend + # We use sys_heap based allocators, so make sure we don't reserve unused libc heap anyway config COMMON_LIBC_MALLOC_ARENA_SIZE default -1