This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_XTENSA_CPU_IDLE_SPIN

Use busy loop for k_cpu_idle

Type: bool

Help

Use a spin loop instead of WAITI for the CPU idle state.

Direct dependencies

XTENSA

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/xtensa/Kconfig:72

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top) → XTENSA Options

config XTENSA_CPU_IDLE_SPIN
    bool "Use busy loop for k_cpu_idle"
    depends on XTENSA
    help
      Use a spin loop instead of WAITI for the CPU idle state.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)