Skip to content

Commit d0dd2ac

Browse files
committed
samples: cmsis_rtos_v2: increase stack
Need more stack for some platforms and architectures. Signed-off-by: Anas Nashif <[email protected]>
1 parent 8b3d9e7 commit d0dd2ac

File tree

2 files changed

+3
-1
lines changed
  • samples/portability/cmsis_rtos_v2/philosophers
  • tests/portability/cmsis_rtos_v1

2 files changed

+3
-1
lines changed

samples/portability/cmsis_rtos_v2/philosophers/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ CONFIG_INIT_STACKS=y
1010
CONFIG_POLL=y
1111
CONFIG_SCHED_SCALABLE=y
1212
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
13+
CONFIG_CMSIS_V2_THREAD_MAX_STACK_SIZE=2048
14+
CONFIG_CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE=2048

tests/portability/cmsis_rtos_v1/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ CONFIG_POLL=y
44
CONFIG_CMSIS_RTOS_V1=y
55
CONFIG_MAX_THREAD_BYTES=4
66
CONFIG_IRQ_OFFLOAD=y
7-
7+
CONFIG_CMSIS_THREAD_MAX_STACK_SIZE=2048
88
CONFIG_SMP=n

0 commit comments

Comments
 (0)