aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/hard_pwm.c
Commit message (Collapse)AuthorAgeFilesLines
* stm32: Adding more hardware pwm capable pins for STM32Hx series chips (#6965)jimmyjon7112025-06-181-0/+22
| | | Signed-off-by: Jim Madill <jcmadill1@gmail.com>
* stm32: Change hard_pwm.c MAX_PWM to 257Kevin O'Connor2025-04-171-2/+3
| | | | | | Choose a value for MAX_PWM that avoids an expensive run-time division. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Fix prescaler overflow check in hard_pwm.cKevin O'Connor2025-04-171-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hard_pwm: Add pin defs for STM32F070 and STM32F072 (#6409)Will Puckett2023-12-051-1/+64
| | | | | Define hard_pwm pins for STM32F070 and STM32F072, and update KConfig accordingly. Signed-off-by: Will Puckett <willpuckett@gmail.com>
* stm32f7: add support for stm32f7 and remram boardFrederic Morin2023-05-071-0/+13
| | | | Signed-off-by: Frederic Morin <frederic.morin.8@gmail.com>
* stm32: Improve ifdef indent in hard_pwm.cKevin O'Connor2023-04-071-4/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Prefer "MACH_STM32F1" test over "MACH_STM32F103 || MACH_N32G45x"Kevin O'Connor2023-04-071-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add support for Nation N32G45x mcus (#6116)Alexey2023-04-071-1/+1
| | | | | N32G452/G455 are mostly compatible with STM32F103 but have M4 core and different ADC. Signed-off-by: Alexey Golyshin <stas2z@gmail.com>
* stm32: Expand stm32g0 family (#5838)Alex Voinea2023-01-031-0/+4
| | | | | Add stm32g07x family support. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* stm32: Add Hardware PWM support for STM32G0 processors (#5714)Ben Jackson2022-09-011-1/+48
| | | | | | | | | | | Uses existing common code for STM32. Adds a table for device- specific PWM mappings. Adds support for enabling all TIM timer devices. Makes it a runtime error to enable devices the code doesn't know how to enable. I have verified performance of the fan pins (PC6, PC7, PB15) on the SKR Mini E3 V3. Signed-off-by: Ben Jackson <ben@ben.com>
* stm32: Rework #if pin definition clauses in hard_pwm.cKevin O'Connor2021-10-111-54/+50
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Adding Hardware PWM support for the STM32F4 processors (#4693)jrhelbert2021-10-111-1/+62
| | | | | This change has been expanded to include all STM32F4 processors, since they share a common TIMER mapping with some processors just not having all of the timers and pins. Signed-off-by: Jerome Helbert <jerome@helbert.net>
* stm32: Add hardware pwm for stm32h7D4SK2021-10-061-1/+48
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add hardware PWM support for STM32F1Michael Kurz2021-03-261-0/+142
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>