zephyr/drivers/pwm/Kconfig.stm32
Erwan Gouriou d13f9d9b9b drivers: stm32: Select PINCTRL when required
Select PINCTRL subsystem by drivers which require it.
Prevent the need from enabling this symbol at board or soc level.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-09-03 14:40:55 +01:00

17 lines
487 B
Text

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