CONFIG_PWM_SIFIVE

SiFive Freedom PWM driver

Type: bool

Help

Enable the PWM driver for the SiFive Freedom platform

Direct dependencies

(PWM && BOARD_HIFIVE1) || (PWM && BOARD_HIFIVE1_REVB) || (SOC_SERIES_RISCV_SIFIVE_FREEDOM && HAS_DTS && PWM)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

At boards/riscv/hifive1/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config PWM_SIFIVE
    bool
    default y
    depends on PWM && BOARD_HIFIVE1

At boards/riscv/hifive1_revb/Kconfig.defconfig:22

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config PWM_SIFIVE
    bool
    default y
    depends on PWM && BOARD_HIFIVE1_REVB

At drivers/pwm/Kconfig.sifive:6

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:40drivers/pwm/Kconfig:44

Menu path: (Top) → Device Drivers → PWM (Pulse Width Modulation) Drivers

menuconfig PWM_SIFIVE
    bool "SiFive Freedom PWM driver"
    depends on SOC_SERIES_RISCV_SIFIVE_FREEDOM && HAS_DTS && PWM
    help
      Enable the PWM driver for the SiFive Freedom platform

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