Skip to content

Commit e4389a2

Browse files
HoZHelkartben
authored andcommitted
soc: st: stm32wb0x: Increase main stack size for BLE applications
Increase the size of the main stack for BLE applications to avoid stack overflow on STM32WB0x series. Beacon sample was considered as a reference for the size increase. Signed-off-by: Ali Hozhabri <[email protected]>
1 parent 576e475 commit e4389a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

soc/st/stm32/stm32wb0x/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ if SOC_SERIES_STM32WB0X
88
config NUM_IRQS
99
default 32
1010

11+
if BT
12+
1113
config BT_AUTO_PHY_UPDATE
1214
default n
1315

@@ -17,4 +19,9 @@ config BT_AUTO_DATA_LEN_UPDATE
1719
config BT_HCI_ACL_FLOW_CONTROL
1820
default n
1921

22+
config MAIN_STACK_SIZE
23+
default 1600
24+
25+
endif # BT
26+
2027
endif # SOC_SERIES_STM32WB0X

0 commit comments

Comments
 (0)