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 <Zephyr>/boards/riscv/hifive1/Kconfig.defconfig:11

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config PWM_SIFIVE
    bool
    default y
    depends on PWM && BOARD_HIFIVE1

At <Zephyr>/boards/riscv/hifive1_revb/Kconfig.defconfig:21

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config PWM_SIFIVE
    bool
    default y
    depends on PWM && BOARD_HIFIVE1_REVB

At <Zephyr>/drivers/pwm/Kconfig.sifive:6

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:46<Zephyr>/drivers/pwm/Kconfig:34

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.)