mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-08 11:25:22 +00:00
Following other drivers, Kconfig based instances are now entirely removed. In order to do this change, PWM nodes in board DT files have been given a pwm{N} label so that both: - DT API checks such as #if DT_HAS_NODE(DT_NODELABEL(pwmN)) can be used (N being PWM instance number). - DT references can be written as pwms = <&pwmN x y>; instead of pwms = <&{/soc/timers@XXXXXXXX/pwm} x y>; This approach is also used on the Linux Kernel. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
14 lines
342 B
Plaintext
14 lines
342 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_HAL_TIM
|
|
help
|
|
This option enables the PWM driver for STM32 family of
|
|
processors. Say y if you wish to use PWM port on STM32
|
|
MCU.
|