mirror of
https://github.com/apache/nuttx.git
synced 2026-08-27 12:20:46 +00:00
Add LPTIM 1, 3, 4, 5 support. Based on STM32H7. setperiod and setcompare have been made to wait for the auto-reload value to be applied before returning. 6 is absent since generic stm32 configs for a 6th LPTIM are not present yet. 2 is absent for no good reason besides maybe that it's in a different RCC APB register. I am not adding support last-minute without more testing. The build fails noisily when LPTIM2 is enabled so the shortcoming is clear. Corrected some RCC definitions. They are needed for selecting the LPTIMx clock source. This is not done in the LPTIM driver. It is done outside and the definitions should ideally be correct for that. Signed-off-by: Liam Howatt <liamhowatt@geotab.com> Co-authored-by: Farzan Farhangian <farzanfarhangian@geotab.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||