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:
parent
32e450024e
commit
ee587d08a8
|
@ -1,4 +1,3 @@
|
|||
ccflags-y += -I${srctree}/tests/include
|
||||
ccflags-$(CONFIG_SOC_QUARK_D2000) += -DFIBER_STACKSIZE=256
|
||||
|
||||
obj-y = context.o
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue