Skip to content

Commit 85830bf

Browse files
HoZHeljhedberg
authored andcommitted
boards: 96boards: carbon: Increase main stack size when using Bluetooth
Increase main stack size when MBEDTLS_INIT is enabled to avoid stack overflow as it consumes 1536 bytes. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
1 parent 3ad0946 commit 85830bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boards/96boards/carbon/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ config SPI_STM32_INTERRUPT
99
default y
1010
depends on SPI
1111

12+
configdefault MAIN_STACK_SIZE
13+
default 1600 if MBEDTLS_INIT
14+
1215
endif # BOARD_96B_CARBON_STM32F401XE
1316

1417
if BOARD_96B_CARBON_NRF51822

0 commit comments

Comments
 (0)