summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.stacks
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.stacks')
-rw-r--r--zephyr/Kconfig.stacks25
1 files changed, 17 insertions, 8 deletions
diff --git a/zephyr/Kconfig.stacks b/zephyr/Kconfig.stacks
index 8df0ca23f1..367564de7e 100644
--- a/zephyr/Kconfig.stacks
+++ b/zephyr/Kconfig.stacks
@@ -28,10 +28,9 @@ config TASK_CHG_RAMP_STACK_SIZE
default 608
config TASK_CHIPSET_STACK_SIZE
- default 1056
-
-config TASK_HOOKS_STACK_SIZE
- default 672
+ default 1056 if AP_x86
+ default 684 if AP_ARM
+ default 1200 # Safe default
config TASK_HOSTCMD_STACK_SIZE
default 672
@@ -84,10 +83,9 @@ config TASK_CHARGER_STACK_SIZE
default 750
config TASK_CHIPSET_STACK_SIZE
- default 684
-
-config TASK_HOOKS_STACK_SIZE
- default 672
+ default 1056 if AP_x86
+ default 684 if AP_ARM
+ default 1200 # Safe default
config TASK_HOSTCMD_STACK_SIZE
default 700
@@ -109,3 +107,14 @@ config TASK_USB_CHG_STACK_SIZE
endif # SOC_SERIES_NPCX9
##############################################################################
+
+##############################################################################
+if SOC_SERIES_RISCV32_IT8XXX2
+
+# Zephyr internal stack sizes
+
+config SHELL_STACK_SIZE
+ default 1560
+
+endif # SOC_SERIES_RISCV32_IT8XXX2
+##############################################################################