CONFIG_PWM_STM32

STM32 MCU PWM driver

Type: bool

Help

This option enables the PWM driver for STM32 family of processors. Say y if you wish to use PWM port on STM32 MCU.

Direct dependencies

(PWM && SOC_FAMILY_STM32) || (PWM && SOC_FAMILY_STM32 && PWM)

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

Defaults

Symbols selected by this symbol

Kconfig definitions

At arch/arm/soc/st_stm32/common/Kconfig.defconfig.series:49

Included via Kconfig:10Kconfig.zephyr:20arch/arm/soc/st_stm32/Kconfig.defconfig:1

Menu path: (top menu)

config PWM_STM32
    bool
    default "y" if PWM && SOC_FAMILY_STM32
    depends on PWM && SOC_FAMILY_STM32

At drivers/pwm/Kconfig.stm32:9

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:44drivers/pwm/Kconfig:51

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

menuconfig PWM_STM32
    bool
    prompt "STM32 MCU PWM driver" if PWM && SOC_FAMILY_STM32 && PWM
    select USE_STM32_HAL_TIM if PWM && SOC_FAMILY_STM32 && PWM
    depends on PWM && SOC_FAMILY_STM32 && PWM
    help
      This option enables the PWM driver for STM32 family of
      processors. Say y if you wish to use PWM port on STM32
      MCU.

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