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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8161f85  Set bleprph main stack size to 512 so img_mgmt uploads dont 
overflow
     new ea919d8  Merge pull request #741 from mlaz/bleprph_stack_fix
8161f85 is described below

commit 8161f852f5f057c88e63aadd3b1c0fdcb96b05d0
Author: Miguel Azevedo <[email protected]>
AuthorDate: Fri Jan 24 20:06:34 2020 +0000

    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 56a5083..c39e6b0 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.

Reply via email to