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:
parent
3b8925099e
commit
bc81926b9a
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue