From d54aaa0326cb38bc5614bfcdfd1937e1c15672d1 Mon Sep 17 00:00:00 2001 From: Erwin Rol Date: Tue, 31 Oct 2017 11:56:02 +0100 Subject: [PATCH] drivers: pwm: stm32: use Kconfig to select HAL/LL sources Use "select USE_STM32_HAL_TIM" to select the needed STM32 HAL files, instead of editing ext/hal/st/stm32cube/CMakeLists.txt Signed-off-by: Erwin Rol --- drivers/pwm/Kconfig.stm32 | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/Kconfig.stm32 b/drivers/pwm/Kconfig.stm32 index 50ea12d75d2..c4d747f4ca0 100644 --- a/drivers/pwm/Kconfig.stm32 +++ b/drivers/pwm/Kconfig.stm32 @@ -10,6 +10,7 @@ menuconfig PWM_STM32 bool "STM32 MCU PWM driver" default n depends on PWM && 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