This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git


The following commit(s) were added to refs/heads/master by this push:
     new edb485c  samples/smp_svr/zephyr: Increase main stack size
edb485c is described below

commit edb485cf471be3bc998b5c48866399a8a336ace5
Author: Håkon Øye Amundsen <haakon.amund...@nordicsemi.no>
AuthorDate: Tue Sep 28 15:11:09 2021 +0200

    samples/smp_svr/zephyr: Increase main stack size
    
    Some build variants will fail runtime due to stack
    overflow. Avoid this by increasing the stack size.
    
    Signed-off-by: Håkon Øye Amundsen <haakon.amund...@nordicsemi.no>
---
 samples/smp_svr/zephyr/prj.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/smp_svr/zephyr/prj.conf b/samples/smp_svr/zephyr/prj.conf
index 61b775e..b0d4e0f 100644
--- a/samples/smp_svr/zephyr/prj.conf
+++ b/samples/smp_svr/zephyr/prj.conf
@@ -3,6 +3,7 @@ CONFIG_MCUMGR=y
 
 # Some command handlers require a large stack.
 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2304
+CONFIG_MAIN_STACK_SIZE=2048
 
 # Ensure an MCUboot-compatible binary is generated.
 CONFIG_BOOTLOADER_MCUBOOT=y

Reply via email to