From 6c2a5cd2571a0486172cc5bf9969127740495fbd Mon Sep 17 00:00:00 2001 From: Aleksandr Khromykh Date: Tue, 25 Mar 2025 12:57:10 +0100 Subject: [PATCH] Bluetooth: increase main stack for nrf54l PSA cracen + trusted storage Commit increases main stack size for nrf54l platform that uses PSA based crypto with Cracen and Trusted storage. Key import of keys with persistent lifetime takes more 3.5 kb. Signed-off-by: Aleksandr Khromykh --- Kconfig.nrf | 1 + 1 file changed, 1 insertion(+) diff --git a/Kconfig.nrf b/Kconfig.nrf index 80a9aa88d4df..173bbf0d798f 100644 --- a/Kconfig.nrf +++ b/Kconfig.nrf @@ -60,6 +60,7 @@ config NET_SOCKETS_OFFLOAD_TLS # - For CC3XX RNG # - For Cracen RNG config MAIN_STACK_SIZE + default 4096 if PSA_NEED_CRACEN_CTR_DRBG_DRIVER && !BUILD_WITH_TFM && TRUSTED_STORAGE default 3584 if PSA_NEED_CRACEN_CTR_DRBG_DRIVER && !BUILD_WITH_TFM default 3584 if (SOC_NRF54H20_CPUAPP || SOC_NRF54H20_CPURAD) default 2048 if PSA_NEED_OBERON_CTR_DRBG_DRIVER && !BUILD_WITH_TFM