Skip to content

Commit 40c9653

Browse files
Martinhoff-makerdkalowsk
authored andcommitted
soc: silabs: siwx91x: increase main stack size when nwp is active
Update the default MAIN_STACK_SIZE to 2048 bytes to accommodate the initialization requirements of the network coprocessor (nwp), particularly when power management is enabled. It resolves a bug where we can't boot when PM is enabled with multiple active peripherals. Signed-off-by: Martin Hoff <[email protected]>
1 parent ba35b4d commit 40c9653

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

soc/silabs/silabs_siwx91x/Kconfig.defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ if SILABS_SIWX91X_NWP
2020
config SYS_CLOCK_TICKS_PER_SEC
2121
default 1024
2222

23+
# Wiseconnect needs more than 1024 bytes of main stack size to initialize
24+
# (especially with PM)
25+
configdefault MAIN_STACK_SIZE
26+
default 2048
27+
2328
config NUM_PREEMPT_PRIORITIES
2429
default 56
2530

0 commit comments

Comments
 (0)