kernel: updated default IDLE_STACK_SIZE to 512 for RISCV32

Default 256 bytes stack size for idle task is not enough, as
stack grows/shrinks by a multiple of 16-bytes in the
RISC-V architecture.

Increase it to 512 bytes for RISCV32 architecture

Change-Id: I8321c48e4c1a877b252ba5561f3cbdd1fe475fc7
Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
This commit is contained in:
Jean-Paul Etienne 2017-01-11 00:24:30 +01:00 committed by Andrew Boie
commit c76abeeae5

View file

@ -125,6 +125,7 @@ config IDLE_STACK_SIZE
prompt "Size of stack for idle thread" prompt "Size of stack for idle thread"
default 256 default 256
default 320 if ARC default 320 if ARC
default 512 if RISCV32
help help
Depending on the work that the idle task must do, most likely due to Depending on the work that the idle task must do, most likely due to
power management but possibly to other features like system event power management but possibly to other features like system event