The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_RISCV_HAS_CPU_IDLE

Does SOC has CPU IDLE instruction

Type: bool

Help

Does SOC has CPU IDLE instruction

Direct dependencies

SOC_SERIES_RISCV32_MIV || SOC_SERIES_RISCV32_SIFIVE_FREEDOM || RISCV32

(Includes any dependencies from if’s and menus.)

Kconfig definitions

At soc/riscv32/riscv-privilege/miv/Kconfig.defconfig.series:17

Included via Kconfig:10Kconfig.zephyr:23soc/riscv32/riscv-privilege/Kconfig.defconfig:7

Menu path: (top menu)

config RISCV_HAS_CPU_IDLE
    bool
    default "y" if SOC_SERIES_RISCV32_MIV
    depends on SOC_SERIES_RISCV32_MIV

At soc/riscv32/riscv-privilege/sifive-freedom/Kconfig.defconfig.series:17

Included via Kconfig:10Kconfig.zephyr:23soc/riscv32/riscv-privilege/Kconfig.defconfig:7

Menu path: (top menu)

config RISCV_HAS_CPU_IDLE
    bool
    default "y" if SOC_SERIES_RISCV32_SIFIVE_FREEDOM
    depends on SOC_SERIES_RISCV32_SIFIVE_FREEDOM

At arch/riscv32/Kconfig:76

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → RISCV32 Options → RISCV32 Processor Options

config RISCV_HAS_CPU_IDLE
    bool
    prompt "Does SOC has CPU IDLE instruction" if RISCV32
    depends on RISCV32
    help
      Does SOC has CPU IDLE instruction

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