soc: nxp: mcxw: fix stack overflow in BLE samples

mbedtls is now used in BLE samples, increasing the stack depth needed
of the calling threads. This was causing stack overflows in several BLE
samples.
Increasing the main stack size for common samples, but also the shell
stack size for samples calling bt API from the shell thread like the
bt shell.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
This commit is contained in:
Axel Le Bourhis 2025-01-13 10:11:08 +01:00 committed by Benjamin Cabé
commit b6e9f3d9e9

View file

@ -14,6 +14,16 @@ config MCUX_FLASH_K4_API
if BT
config MAIN_STACK_SIZE
default 2560
if SHELL
config SHELL_STACK_SIZE
default 4096
endif # SHELL
# Include intercore messaging component
config NXP_RF_IMU
default y