Skip to content

Commit 86da50c

Browse files
committed
samples: cmsis_rtos_v1: philosophers: increas CMSIS_THREAD_MAX_STACK_SIZE
This sample is failing regularly in CI and locally for qemu_cortex_a53_smp, seems like the stack is not enough: thread_analyzer: 0x4001f740: STACK: unused 1040 usage 1008 / 2048 (49 %) thread_analyzer: 0x4001f3a0: STACK: unused 944 usage 1104 / 2048 (53 %) thread_analyzer: 0x4001f000: STACK: unused 1040 usage 1008 / 2048 (49 %) ... Increasing to 2048 seems to make it run reliably. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 7bdf647 commit 86da50c

File tree

1 file changed

+1
-1
lines changed
  • samples/subsys/portability/cmsis_rtos_v1/philosophers

1 file changed

+1
-1
lines changed

samples/subsys/portability/cmsis_rtos_v1/philosophers/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ CONFIG_INIT_STACKS=y
1010
CONFIG_POLL=y
1111
CONFIG_SCHED_SCALABLE=y
1212
CONFIG_THREAD_CUSTOM_DATA=y
13-
CONFIG_CMSIS_THREAD_MAX_STACK_SIZE=1024
13+
CONFIG_CMSIS_THREAD_MAX_STACK_SIZE=2048

0 commit comments

Comments
 (0)