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:
parent
b6e9f3d9e9
commit
cb8cb39fbf
1 changed files with 8 additions and 1 deletions
|
@ -26,7 +26,14 @@ config HCI_NXP_SET_CAL_DATA
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config MAIN_STACK_SIZE
|
config MAIN_STACK_SIZE
|
||||||
default 1280
|
default 2560
|
||||||
|
|
||||||
|
if SHELL
|
||||||
|
|
||||||
|
config SHELL_STACK_SIZE
|
||||||
|
default 4096
|
||||||
|
|
||||||
|
endif # SHELL
|
||||||
|
|
||||||
endif # BT
|
endif # BT
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue