:orphan: .. title:: IDLE_STACK_SIZE .. option:: 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 - 4096 - 1024 - 4096 - 2048 if \ :option:`COVERAGE_GCOV ` - 1024 if \ :option:`XTENSA ` - 512 if \ :option:`RISCV ` - 384 if \ :option:`DYNAMIC_OBJECTS ` - 320 if \ :option:`ARC ` || (\ :option:`ARM ` && \ :option:`CPU_HAS_FPU `) || (\ :option:`X86 ` && \ :option:`MMU `) - 256 Kconfig definitions =================== .. highlight:: kconfig At ``soc/arc/snps_emsdp/Kconfig.defconfig.em4:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:14`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`SOC_EMSDP_EM4 ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em5d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:15`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`SOC_EMSDP_EM5D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em6:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:16`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`SOC_EMSDP_EM6 ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em7d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:17`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`SOC_EMSDP_EM7D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em9d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:19`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`SOC_EMSDP_EM9D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsdp/Kconfig.defconfig.em11d:33`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsdp/Kconfig.defconfig:20`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`SOC_EMSDP_EM11D ` && \ :option:`SOC_ARC_EMSDP ` ---- At ``soc/arc/snps_emsk/Kconfig.defconfig.em7d:46`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_emsk/Kconfig.defconfig:10`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`ARC_MPU_VER ` = 2 && \ :option:`SOC_EMSK_EM7D ` && \ :option:`SOC_EMSK ` ---- At ``soc/arc/snps_nsim/Kconfig.defconfig.em:44`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_nsim/Kconfig.defconfig:15`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`ARC_MPU_VER ` = 2 && \ :option:`SOC_NSIM_EM ` && \ :option:`SOC_NSIM ` ---- At ``soc/arc/snps_nsim/Kconfig.defconfig.em7d_v22:41`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` → ``soc/arc/snps_nsim/Kconfig.defconfig:16`` Menu path: (Top) .. parsed-literal:: config IDLE_STACK_SIZE int default 2048 depends on \ :option:`ARC_MPU_VER ` = 2 && \ :option:`SOC_NSIM_EM7D_V22 ` && \ :option:`SOC_NSIM ` ---- At ``arch/arm/core/aarch64/Kconfig:35`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/arm/Kconfig:46`` Menu path: (Top) → ARM Options .. parsed-literal:: config IDLE_STACK_SIZE int default 4096 depends on \ :option:`ARM64 ` && \ :option:`ARM ` ---- At ``arch/sparc/Kconfig:45`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` Menu path: (Top) → SPARC Options .. parsed-literal:: config IDLE_STACK_SIZE int default 1024 depends on \ :option:`SPARC ` ---- At ``arch/x86/core/Kconfig.intel64:11`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/x86/Kconfig:320`` Menu path: (Top) → X86 Architecture Options .. parsed-literal:: config IDLE_STACK_SIZE int default 4096 depends on \ :option:`X86_64 ` && \ :option:`X86 ` ---- At ``kernel/Kconfig:163`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:30`` Menu path: (Top) → General Kernel Options .. parsed-literal:: config IDLE_STACK_SIZE int "Size of stack for idle thread" default 2048 if \ :option:`COVERAGE_GCOV ` default 1024 if \ :option:`XTENSA ` default 512 if \ :option:`RISCV ` default 384 if \ :option:`DYNAMIC_OBJECTS ` default 320 if \ :option:`ARC ` || (\ :option:`ARM ` && \ :option:`CPU_HAS_FPU `) || (\ :option:`X86 ` && \ :option:`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.)*