samples: cmsis philosophers: adjust stack size
Fixes crashes when running with code coverage enabled. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
442df97366
commit
930a5f8fb7
@ -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[] = {
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user