tests: kernel: test_context: reduce ram requirements

Reduces the amount of memory allocated for fiber's stack.
This permits the test_context to compile on boards like
nucleo-f103rb. Sanitycheck script passes all test for
test-context.

This patch was verified on the emulated platforms and not
against real hardware boards.

Change-Id: I219f63063ee2dca5b0326e25141d8b37f4cd1d74
Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2016-03-31 10:57:33 +03:00 committed by Anas Nashif
parent 32e450024e
commit ee587d08a8
2 changed files with 1 additions and 4 deletions

View file

@ -1,4 +1,3 @@
ccflags-y += -I${srctree}/tests/include
ccflags-$(CONFIG_SOC_QUARK_D2000) += -DFIBER_STACKSIZE=256
obj-y = context.o

View file

@ -41,9 +41,7 @@ This module tests the following CPU and thread related routines:
#include <board.h>
#endif
#ifndef FIBER_STACKSIZE
#define FIBER_STACKSIZE 2000
#endif
#define FIBER_STACKSIZE 256
#define FIBER_PRIORITY 4
#define THREAD_SELF_CMD 0