zephyr/drivers/pwm/Kconfig.stm32
Gerard Marull-Paretas 6b81695946 drivers: pwm: stm32: fix timer clock calculation
Calculation of the timer clock was wrong for some F4/F7/H7 series.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-11-03 11:03:54 +01:00

15 lines
435 B
Plaintext

# STM32 PWM configuration options
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config PWM_STM32
bool "STM32 MCU PWM driver"
depends on SOC_FAMILY_STM32
select USE_STM32_LL_TIM
select USE_STM32_LL_RCC if SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32H7X
help
This option enables the PWM driver for STM32 family of
processors. Say y if you wish to use PWM port on STM32
MCU.