diff options
author | Anas Nashif <anas.nashif@intel.com> | 2017-02-01 20:54:40 -0500 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2017-02-02 14:44:46 +0000 |
commit | 0650911a0da108da4bb105513063adfa346bc081 (patch) | |
tree | 851efca6fe999ee1424600de658445258f22cb2d /samples | |
parent | 9f004d9b7c4bf6d37715cb5043dab88590f7b71a (diff) |
samples: philosophers: adjust stack size and build by sanitycheck
Jira: ZEP-1598
Change-Id: I5e2126e946c0a4935d938051acd98702065f458e
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/philosophers/prj.conf | 1 | ||||
-rw-r--r-- | samples/philosophers/src/main.c | 2 | ||||
-rw-r--r-- | samples/philosophers/testcase.ini | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/samples/philosophers/prj.conf b/samples/philosophers/prj.conf index ef7f1ecb7..c1d5ccc7f 100644 --- a/samples/philosophers/prj.conf +++ b/samples/philosophers/prj.conf @@ -1,5 +1,4 @@ CONFIG_MDEF=n -CONFIG_INIT_STACKS=y CONFIG_SYS_CLOCK_TICKS_PER_SEC=100 CONFIG_ASSERT=y CONFIG_ASSERT_LEVEL=2 diff --git a/samples/philosophers/src/main.c b/samples/philosophers/src/main.c index b6363598f..2bc895ac0 100644 --- a/samples/philosophers/src/main.c +++ b/samples/philosophers/src/main.c @@ -81,7 +81,7 @@ /* end - control behaviour of the demo */ /***************************************/ -#define STACK_SIZE 1024 +#define STACK_SIZE 768 /* * There are multiple tasks doing printfs and they may conflict. diff --git a/samples/philosophers/testcase.ini b/samples/philosophers/testcase.ini new file mode 100644 index 000000000..a59fa3757 --- /dev/null +++ b/samples/philosophers/testcase.ini @@ -0,0 +1,3 @@ +[test] +build_only = true +tags = apps |