Skip to content

Commit ff624a1

Browse files
nordicjmcarlescufi
authored andcommitted
samples: mgmt: mcumgr: smp_svr: Fix stack overflow with bt
Fixes an issue with a possible stack overflow when using the Bluetooth transport for large mcumgr transfer, the issue was caused by moving to a dedicated workqueue but not moving the enlarged system workqueue overlay to the new smp workqueue. Signed-off-by: Jamie McCrae <[email protected]>
1 parent 8e0464e commit ff624a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CONFIG_MCUMGR_SMP_SHELL=y
1818
CONFIG_MCUMGR_SMP_REASSEMBLY_BT=y
1919
CONFIG_MCUMGR_BUF_SIZE=2475
2020
CONFIG_OS_MGMT_MCUMGR_PARAMS=y
21-
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
21+
CONFIG_MCUMGR_SMP_WORKQUEUE_STACK_SIZE=4608
2222

2323
# Enable the LittleFS file system.
2424
CONFIG_FILE_SYSTEM=y

0 commit comments

Comments
 (0)