[
https://issues.apache.org/jira/browse/MYNEWT-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vipul Rahane updated MYNEWT-624:
--------------------------------
Description:
Syscfg sets wrong config setting OS_MAIN_STACKS_SIZE, it should be
OS_MAIN_STACK_SIZE.
There was more than one problem here:
1. OS_MAIN_STACKS_SIZE should have been OS_MAIN_STACK_SIZE.
2. For images being built as split images, the loader and the app need to have
the same OS_MAIN_STACK_SIZE.
Solution:
Remove OS_MAIN_STACK_SIZE from slinky/syscfg.yml so that it uses
OS_MAIN_STACK_SIZE from the second app and not the loader.
was:Syscfg sets wrong config setting OS_MAIN_STACKS_SIZE, it should be
OS_MAIN_STACK_SIZE.
> apps/slinky: Syscfg sets wrong config setting OS_MAIN_STACKS_SIZE
> -----------------------------------------------------------------
>
> Key: MYNEWT-624
> URL: https://issues.apache.org/jira/browse/MYNEWT-624
> Project: Mynewt
> Issue Type: Bug
> Affects Versions: v1_0_0_beta2
> Reporter: Vipul Rahane
> Assignee: Vipul Rahane
> Labels: apps
> Fix For: v1_0_0_rel
>
>
> Syscfg sets wrong config setting OS_MAIN_STACKS_SIZE, it should be
> OS_MAIN_STACK_SIZE.
> There was more than one problem here:
> 1. OS_MAIN_STACKS_SIZE should have been OS_MAIN_STACK_SIZE.
> 2. For images being built as split images, the loader and the app need to
> have the same OS_MAIN_STACK_SIZE.
> Solution:
> Remove OS_MAIN_STACK_SIZE from slinky/syscfg.yml so that it uses
> OS_MAIN_STACK_SIZE from the second app and not the loader.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)