samples: philosophers: Introduce CONFIG_TEST_EXTRA_STACKSIZE

Some architectures require more space on the stack when running samples
and tests. Use the CONFIG_TEST_EXTRA_STACKSIZE also on the philosophers
sample to deal with such cases.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2019-11-11 11:00:24 +00:00 committed by Anas Nashif
parent 3a00d0ca75
commit 6d9af83907

View file

@ -83,7 +83,7 @@
/* end - control behaviour of the demo */
/***************************************/
#define STACK_SIZE 768
#define STACK_SIZE (768 + CONFIG_TEST_EXTRA_STACKSIZE)
#include "phil_obj_abstract.h"