mirror of https://github.com/Desuuuu/klipper.git
stm32: Rework HAVE_GPIO_HARD_PWM in Kconfig
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
97d36ac451
commit
50f51d8aa2
|
@ -9,6 +9,7 @@ config STM32_SELECT
|
||||||
select HAVE_GPIO_ADC
|
select HAVE_GPIO_ADC
|
||||||
select HAVE_GPIO_I2C if !(MACH_STM32F031 || MACH_STM32H7)
|
select HAVE_GPIO_I2C if !(MACH_STM32F031 || MACH_STM32H7)
|
||||||
select HAVE_GPIO_SPI 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_GPIO_BITBANGING if !MACH_STM32F031
|
||||||
select HAVE_STRICT_TIMING
|
select HAVE_STRICT_TIMING
|
||||||
select HAVE_CHIPID
|
select HAVE_CHIPID
|
||||||
|
@ -27,33 +28,27 @@ choice
|
||||||
config MACH_STM32F103
|
config MACH_STM32F103
|
||||||
bool "STM32F103"
|
bool "STM32F103"
|
||||||
select MACH_STM32F1
|
select MACH_STM32F1
|
||||||
select HAVE_GPIO_HARD_PWM
|
|
||||||
config MACH_STM32F207
|
config MACH_STM32F207
|
||||||
bool "STM32F207"
|
bool "STM32F207"
|
||||||
select MACH_STM32F2
|
select MACH_STM32F2
|
||||||
config MACH_STM32F401
|
config MACH_STM32F401
|
||||||
bool "STM32F401"
|
bool "STM32F401"
|
||||||
select MACH_STM32F4
|
select MACH_STM32F4
|
||||||
select HAVE_GPIO_HARD_PWM
|
|
||||||
config MACH_STM32F405
|
config MACH_STM32F405
|
||||||
bool "STM32F405"
|
bool "STM32F405"
|
||||||
select MACH_STM32F4
|
select MACH_STM32F4
|
||||||
select MACH_STM32F4x5
|
select MACH_STM32F4x5
|
||||||
select HAVE_GPIO_HARD_PWM
|
|
||||||
config MACH_STM32F407
|
config MACH_STM32F407
|
||||||
bool "STM32F407"
|
bool "STM32F407"
|
||||||
select MACH_STM32F4
|
select MACH_STM32F4
|
||||||
select MACH_STM32F4x5
|
select MACH_STM32F4x5
|
||||||
select HAVE_GPIO_HARD_PWM
|
|
||||||
config MACH_STM32F429
|
config MACH_STM32F429
|
||||||
bool "STM32F429"
|
bool "STM32F429"
|
||||||
select MACH_STM32F4
|
select MACH_STM32F4
|
||||||
select MACH_STM32F4x5
|
select MACH_STM32F4x5
|
||||||
select HAVE_GPIO_HARD_PWM
|
|
||||||
config MACH_STM32F446
|
config MACH_STM32F446
|
||||||
bool "STM32F446"
|
bool "STM32F446"
|
||||||
select MACH_STM32F4
|
select MACH_STM32F4
|
||||||
select HAVE_GPIO_HARD_PWM
|
|
||||||
config MACH_STM32F031
|
config MACH_STM32F031
|
||||||
bool "STM32F031"
|
bool "STM32F031"
|
||||||
select MACH_STM32F0
|
select MACH_STM32F0
|
||||||
|
@ -69,7 +64,6 @@ choice
|
||||||
config MACH_STM32H750
|
config MACH_STM32H750
|
||||||
bool "STM32H750"
|
bool "STM32H750"
|
||||||
select MACH_STM32H7
|
select MACH_STM32H7
|
||||||
select HAVE_GPIO_HARD_PWM
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config MACH_STM32F0
|
config MACH_STM32F0
|
||||||
|
|
Loading…
Reference in New Issue