Skip to content
Permalink
Browse files

samples: cmsis philosophers: adjust stack size

Fixes crashes when running with code coverage
enabled.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
  • Loading branch information...
andrewboie committed May 2, 2019
1 parent 442df97 commit 930a5f8fb71b0c0349e99efdb0ef368f439bbdb0
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/portability/cmsis_rtos_v2/philosophers/src/main.c
@@ -68,7 +68,7 @@ osSemaphoreId_t forks[NUM_PHIL];

#define fork(x) (forks[x])

#define STACK_SIZE 512
#define STACK_SIZE CONFIG_CMSIS_V2_THREAD_MAX_STACK_SIZE
static K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_PHIL, STACK_SIZE);
static osThreadAttr_t thread_attr[] = {
{

0 comments on commit 930a5f8

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