Skip to content
Permalink
Browse files

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>
  • Loading branch information...
andrewboie authored and nashif committed May 2, 2019
1 parent 81a5566 commit 16317c1a9f9443de4af8041afe30e5a043741bb4
Showing with 1 addition and 2 deletions.
  1. +1 −1 lib/cmsis_rtos_v2/Kconfig
  2. +0 −1 tests/cmsis_rtos_v2/prj.conf
@@ -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.

@@ -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

0 comments on commit 16317c1

Please sign in to comment.
You can’t perform that action at this time.