:orphan: .. title:: CONFIG_IDLE_STACK_SIZE .. kconfig:: CONFIG_IDLE_STACK_SIZE CONFIG_IDLE_STACK_SIZE ###################### *Size of stack for idle thread* Type: ``int`` Help ==== .. code-block:: none 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 ======== - 4096 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 1536 - 1536 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 2048 - 1536 - 1536 - 1024 if \ :kconfig:`64BIT ` - 4096 - 1024 - 4096 - 2048 if \ :kconfig:`COVERAGE_GCOV ` - 1024 if \ :kconfig:`XTENSA ` - 512 if \ :kconfig:`RISCV ` - 384 if \ :kconfig:`DYNAMIC_OBJECTS ` - 320 if \ :kconfig:`ARC ` || (\ :kconfig:`ARM ` && \ :kconfig:`CPU_HAS_FPU `) || (\ :kconfig:`X86 ` && \ :kconfig:`MMU `) - 256 Kconfig definitions =================== At ``/arm/mps2_an385/Kconfig.defconfig:52`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:22`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 4096 depends on COVERAGE && BOARD_MPS2_AN385 ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em4:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_emsdp/Kconfig.defconfig:14`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM4 && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em5d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_emsdp/Kconfig.defconfig:15`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM5D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em6:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_emsdp/Kconfig.defconfig:16`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM6 && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em7d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_emsdp/Kconfig.defconfig:17`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM7D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em9d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_emsdp/Kconfig.defconfig:19`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM9D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em11d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_emsdp/Kconfig.defconfig:20`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM11D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsk/Kconfig.defconfig.em7d:46`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_emsk/Kconfig.defconfig:10`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on ARC_MPU_VER = 2 && SOC_EMSK_EM7D && SOC_EMSK ---- At ``/arc/snps_nsim/Kconfig.defconfig.em:44`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_nsim/Kconfig.defconfig:12`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on ARC_MPU_VER = 2 && SOC_NSIM_EM && SOC_NSIM ---- At ``/arc/snps_nsim/Kconfig.defconfig.em7d_v22:41`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arc/snps_nsim/Kconfig.defconfig:13`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on ARC_MPU_VER = 2 && SOC_NSIM_EM7D_V22 && SOC_NSIM ---- At ``/riscv/riscv-privilege/andes_v5/Kconfig.defconfig.ae350:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/riscv/riscv-privilege/Kconfig.defconfig:6`` → ``/riscv/riscv-privilege/andes_v5/Kconfig.defconfig.series:9`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 1536 depends on SOC_RISCV_ANDES_AE350 && SOC_SERIES_RISCV_ANDES_V5 ---- At ``/riscv/riscv-privilege/telink_b91/Kconfig.defconfig.series:42`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/riscv/riscv-privilege/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 1536 depends on SOC_SERIES_RISCV_TELINK_B91 ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em4:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_emsdp/Kconfig.defconfig:14`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM4 && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em5d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_emsdp/Kconfig.defconfig:15`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM5D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em6:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_emsdp/Kconfig.defconfig:16`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM6 && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em7d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_emsdp/Kconfig.defconfig:17`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM7D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em9d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_emsdp/Kconfig.defconfig:19`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM9D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsdp/Kconfig.defconfig.em11d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_emsdp/Kconfig.defconfig:20`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on SOC_EMSDP_EM11D && SOC_ARC_EMSDP ---- At ``/arc/snps_emsk/Kconfig.defconfig.em7d:46`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_emsk/Kconfig.defconfig:10`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on ARC_MPU_VER = 2 && SOC_EMSK_EM7D && SOC_EMSK ---- At ``/arc/snps_nsim/Kconfig.defconfig.em:44`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_nsim/Kconfig.defconfig:12`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on ARC_MPU_VER = 2 && SOC_NSIM_EM && SOC_NSIM ---- At ``/arc/snps_nsim/Kconfig.defconfig.em7d_v22:41`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arc/snps_nsim/Kconfig.defconfig:13`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 2048 depends on ARC_MPU_VER = 2 && SOC_NSIM_EM7D_V22 && SOC_NSIM ---- At ``/riscv/riscv-privilege/andes_v5/Kconfig.defconfig.ae350:15`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/riscv/riscv-privilege/Kconfig.defconfig:6`` → ``/riscv/riscv-privilege/andes_v5/Kconfig.defconfig.series:9`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 1536 depends on SOC_RISCV_ANDES_AE350 && SOC_SERIES_RISCV_ANDES_V5 ---- At ``/riscv/riscv-privilege/telink_b91/Kconfig.defconfig.series:42`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/riscv/riscv-privilege/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 1536 depends on SOC_SERIES_RISCV_TELINK_B91 ---- At ``/arc/Kconfig:373`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` Menu path: (Top) .. code-block:: kconfig config IDLE_STACK_SIZE int default 1024 if 64BIT ---- At ``/arm64/core/Kconfig:57`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/arm64/Kconfig:32`` Menu path: (Top) → ARM64 Options .. code-block:: kconfig config IDLE_STACK_SIZE int default 4096 depends on ARM64 ---- At ``/sparc/Kconfig:41`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` Menu path: (Top) → SPARC Options .. code-block:: kconfig config IDLE_STACK_SIZE int default 1024 depends on SPARC ---- At ``/x86/core/Kconfig.intel64:11`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/x86/Kconfig:483`` Menu path: (Top) → X86 Architecture Options .. code-block:: kconfig config IDLE_STACK_SIZE int default 4096 depends on X86_64 && X86 ---- At ``/Kconfig:152`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:40`` Menu path: (Top) → General Kernel Options .. code-block:: kconfig config IDLE_STACK_SIZE int "Size of stack for idle thread" default 2048 if COVERAGE_GCOV default 1024 if XTENSA default 512 if RISCV default 384 if DYNAMIC_OBJECTS default 320 if ARC || (ARM && CPU_HAS_FPU) || (X86 && MMU) 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.)*