-
CONFIG_IDLE_STACK_SIZE
¶
Size of stack for idle thread
Type: int
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 logging (e.g. logging when the system goes to sleep), the idle thread may need more stack space than the default value.
Defaults¶
- 2048
- 2048
- 2048
- 2048
- 2048
- 2048
- 2048
- 2048
- 2048 if
COVERAGE_GCOV
- 1024 if
XTENSA
- 512 if
RISCV
- 320 if
ARC
|| (ARM
&&CPU_HAS_FPU
) - 256
Kconfig definitions¶
At soc/arc/snps_emsdp/Kconfig.defconfig.em4:36
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_emsdp/Kconfig.defconfig:22
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onSOC_EMSDP_EM4
&&SOC_ARC_EMSDP
At soc/arc/snps_emsdp/Kconfig.defconfig.em5d:36
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_emsdp/Kconfig.defconfig:23
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onSOC_EMSDP_EM5D
&&SOC_ARC_EMSDP
At soc/arc/snps_emsdp/Kconfig.defconfig.em6:36
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_emsdp/Kconfig.defconfig:24
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onSOC_EMSDP_EM6
&&SOC_ARC_EMSDP
At soc/arc/snps_emsdp/Kconfig.defconfig.em7d:36
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_emsdp/Kconfig.defconfig:25
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onSOC_EMSDP_EM7D
&&SOC_ARC_EMSDP
At soc/arc/snps_emsdp/Kconfig.defconfig.em9d:36
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_emsdp/Kconfig.defconfig:27
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onSOC_EMSDP_EM9D
&&SOC_ARC_EMSDP
At soc/arc/snps_emsdp/Kconfig.defconfig.em11d:36
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_emsdp/Kconfig.defconfig:28
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onSOC_EMSDP_EM11D
&&SOC_ARC_EMSDP
At soc/arc/snps_emsk/Kconfig.defconfig.em7d:49
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_emsk/Kconfig.defconfig:14
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onARC_MPU_VER
= 2 &&SOC_EMSK_EM7D
&&SOC_EMSK
At soc/arc/snps_nsim/Kconfig.defconfig.em:47
Included via Kconfig:10
→ Kconfig.zephyr:28
→ soc/arc/snps_nsim/Kconfig.defconfig:17
Menu path: (Top)
config IDLE_STACK_SIZE int default 2048 depends onARC_MPU_VER
= 2 &&SOC_NSIM_EM
&&SOC_NSIM
At kernel/Kconfig:160
Included via Kconfig:10
→ Kconfig.zephyr:36
Menu path: (Top) → General Kernel Options
config IDLE_STACK_SIZE int "Size of stack for idle thread" default 2048 ifCOVERAGE_GCOV
default 1024 ifXTENSA
default 512 ifRISCV
default 320 ifARC
|| (ARM
&&CPU_HAS_FPU
) default 256 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 logging (e.g. logging when the system goes to sleep), the idle thread may need more stack space than the default value.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)