stm32: Add hardware PWM support for STM32F1

This adds hardware PWM support for STM32F1 processors.
This should also work for STM32 F0/F2/F4 processors, but I
don't have one of those to test it.

Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Michael Kurz
2021-03-25 20:39:53 +01:00
committed by Kevin O'Connor
parent 39188e1cf3
commit 59c4c49893
5 changed files with 179 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ choice
config MACH_STM32F103
bool "STM32F103"
select MACH_STM32F1
select HAVE_GPIO_HARD_PWM
config MACH_STM32F207
bool "STM32F207"
select MACH_STM32F2