From 50f51d8aa2412d861fbd0cc9f877514a7f11b8e2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 13 Oct 2021 11:04:56 -0400 Subject: [PATCH] stm32: Rework HAVE_GPIO_HARD_PWM in Kconfig Signed-off-by: Kevin O'Connor --- src/stm32/Kconfig | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index 37e07443..0dd1cf64 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -9,6 +9,7 @@ config STM32_SELECT select HAVE_GPIO_ADC select HAVE_GPIO_I2C if !(MACH_STM32F031 || MACH_STM32H7) select HAVE_GPIO_SPI if !(MACH_STM32F031 || MACH_STM32H7) + select HAVE_GPIO_HARD_PWM if MACH_STM32F1 || MACH_STM32F4 || MACH_STM32H7 select HAVE_GPIO_BITBANGING if !MACH_STM32F031 select HAVE_STRICT_TIMING select HAVE_CHIPID @@ -27,33 +28,27 @@ choice config MACH_STM32F103 bool "STM32F103" select MACH_STM32F1 - select HAVE_GPIO_HARD_PWM config MACH_STM32F207 bool "STM32F207" select MACH_STM32F2 config MACH_STM32F401 bool "STM32F401" select MACH_STM32F4 - select HAVE_GPIO_HARD_PWM config MACH_STM32F405 bool "STM32F405" select MACH_STM32F4 select MACH_STM32F4x5 - select HAVE_GPIO_HARD_PWM config MACH_STM32F407 bool "STM32F407" select MACH_STM32F4 select MACH_STM32F4x5 - select HAVE_GPIO_HARD_PWM config MACH_STM32F429 bool "STM32F429" select MACH_STM32F4 select MACH_STM32F4x5 - select HAVE_GPIO_HARD_PWM config MACH_STM32F446 bool "STM32F446" select MACH_STM32F4 - select HAVE_GPIO_HARD_PWM config MACH_STM32F031 bool "STM32F031" select MACH_STM32F0 @@ -69,7 +64,6 @@ choice config MACH_STM32H750 bool "STM32H750" select MACH_STM32H7 - select HAVE_GPIO_HARD_PWM endchoice config MACH_STM32F0