tests: kernel: test_mpool_concept: increase STACK_SIZE to 1024 for riscv32

In RISCV, stack always grows by a multiple of 16 bytes, even if we are saving
data of size < 16 bytes onto the stack.

Hence, for riscv32 architecture a bigger stack size is required for
test_mpool_concept, otherwise we experience stack overflow.

Change-Id: I938aa511efcae66f0131fa1bc23bd68600421885
Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
This commit is contained in:
Jean-Paul Etienne 2017-01-21 17:47:35 +01:00 committed by Anas Nashif
commit bc81926b9a

View file

@ -5,7 +5,11 @@
*/
#define TIMEOUT 2000
#ifdef CONFIG_RISCV32
#define STACK_SIZE 1024
#else
#define STACK_SIZE 512
#endif
#define BLK_SIZE_MIN 4
#define BLK_SIZE_MAX 16
#define BLK_NUM_MIN 8