diff options
author | Jean-Paul Etienne <fractalclone@gmail.com> | 2017-01-11 00:24:30 +0100 |
---|---|---|
committer | Andrew Boie <andrew.p.boie@intel.com> | 2017-01-13 19:54:35 +0000 |
commit | c76abeeae515b92ffcca477604199289a4c4704f (patch) | |
tree | 51378f439347e96173248bb4c01d1d8b475dc973 | |
parent | 4c6ab7cfcd84e28e2804435dc331b5ccdbb96148 (diff) |
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>
-rw-r--r-- | kernel/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/Kconfig b/kernel/Kconfig index 01e38ce2f..748a5f883 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -125,6 +125,7 @@ config IDLE_STACK_SIZE prompt "Size of stack for idle thread" default 256 default 320 if ARC + default 512 if RISCV32 help Depending on the work that the idle task must do, most likely due to power management but possibly to other features like system event |