The latest development version of this page may be more current than this released 1.14.0 version.
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) || (SOC_FAMILY_STM32 && PWM)

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

Defaults

Symbols selected by this symbol

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:51

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

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:35drivers/Kconfig:42drivers/pwm/Kconfig:41

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

menuconfig PWM_STM32
    bool
    prompt "STM32 MCU PWM driver" if SOC_FAMILY_STM32 && PWM
    select USE_STM32_HAL_TIM if SOC_FAMILY_STM32 && PWM
    depends on 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.)