lib: cmsis_v2: set default dynamic stack size

Set to same default as regular stacks. This doesn't use
any extra memory until CMSIS_V2_THREAD_DYNAMIC_MAX_COUNT
is set. 0 is not a valid default if that is set.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-05-02 08:30:29 -07:00 committed by Anas Nashif
parent 81a556688a
commit 16317c1a9f
2 changed files with 1 additions and 2 deletions

View file

@ -44,7 +44,7 @@ config CMSIS_V2_THREAD_MAX_STACK_SIZE
config CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE
int "Dynamic stack size threads are allocated in CMSIS RTOS V2 application"
default 0
default 512
help
Mention dynamic stack size threads are allocated in CMSIS RTOS V2 application.

View file

@ -13,4 +13,3 @@ CONFIG_SCHED_SCALABLE=y
CONFIG_CMSIS_V2_MEM_SLAB_MAX_DYNAMIC_SIZE=128
CONFIG_CMSIS_V2_THREAD_MAX_COUNT=23
CONFIG_CMSIS_V2_THREAD_DYNAMIC_MAX_COUNT=10
CONFIG_CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE=512