2019-11-01 13:45:29 +01:00
|
|
|
# STM32 PWM configuration options
|
|
|
|
|
2016-11-25 17:21:26 +01:00
|
|
|
# Copyright (c) 2016 Linaro Limited.
|
2017-01-19 02:01:01 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-11-25 17:21:26 +01:00
|
|
|
|
2020-05-01 16:13:37 +02:00
|
|
|
config PWM_STM32
|
2016-11-25 17:21:26 +01:00
|
|
|
bool "STM32 MCU PWM driver"
|
2022-07-21 23:13:45 +02:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_PWM_ENABLED
|
2020-04-21 21:50:03 +02:00
|
|
|
select USE_STM32_LL_TIM
|
2020-10-16 20:07:27 +02:00
|
|
|
select USE_STM32_LL_RCC if SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32H7X
|
2023-06-23 08:24:07 +02:00
|
|
|
select RESET
|
2016-11-25 17:21:26 +01:00
|
|
|
help
|
|
|
|
This option enables the PWM driver for STM32 family of
|
|
|
|
processors. Say y if you wish to use PWM port on STM32
|
|
|
|
MCU.
|