From 8161f852f5f057c88e63aadd3b1c0fdcb96b05d0 Mon Sep 17 00:00:00 2001 From: Miguel Azevedo Date: Fri, 24 Jan 2020 20:06:34 +0000 Subject: [PATCH] Set bleprph main stack size to 512 so img_mgmt uploads dont overflow On the newer versions of mcumgr a 512 byte is allocated on stack, which makes the previous stack size too short. While testing image uploads stack grew up to at 502 words. --- apps/bleprph/syscfg.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/bleprph/syscfg.yml b/apps/bleprph/syscfg.yml index 56a508304..c39e6b01e 100644 --- a/apps/bleprph/syscfg.yml +++ b/apps/bleprph/syscfg.yml @@ -58,7 +58,7 @@ syscfg.vals: CONFIG_MGMT: 1 # OS main/default task - OS_MAIN_STACK_SIZE: 468 + OS_MAIN_STACK_SIZE: 512 # Lots of smaller mbufs are required for smp using typical BLE ATT MTU # values.