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

Kconfig definitions

At soc/arc/snps_emsk/Kconfig.defconfig.em7d:49

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_emsk/Kconfig.defconfig:14

Menu path: (top menu)

config IDLE_STACK_SIZE
    int
    default 2048 if ARC_MPU_VER = 2 && SOC_EMSK_EM7D && SOC_EMSK
    depends on ARC_MPU_VER = 2 && SOC_EMSK_EM7D && SOC_EMSK

At soc/arc/snps_nsim/Kconfig.defconfig.em:44

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_nsim/Kconfig.defconfig:17

Menu path: (top menu)

config IDLE_STACK_SIZE
    int
    default 2048 if ARC_MPU_VER = 2 && SOC_NSIM_EM && SOC_NSIM
    depends on ARC_MPU_VER = 2 && SOC_NSIM_EM && SOC_NSIM

At kernel/Kconfig:160

Included via Kconfig:10Kconfig.zephyr:31

Menu path: (top menu) → General Kernel Options

config IDLE_STACK_SIZE
    int
    prompt "Size of stack for idle thread"
    default 2048 if COVERAGE_GCOV
    default 1024 if XTENSA
    default 512 if RISCV32
    default 320 if ARC || (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.

(Definitions include propagated dependencies, including from if’s and menus.)