soc: nxp: rw: 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:15:03 +01:00 committed by Benjamin Cabé
commit cb8cb39fbf

View file

@ -26,7 +26,14 @@ config HCI_NXP_SET_CAL_DATA
default y
config MAIN_STACK_SIZE
default 1280
default 2560
if SHELL
config SHELL_STACK_SIZE
default 4096
endif # SHELL
endif # BT