mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-26 01:28:34 -07:00
Klipper is a 3d-printer firmware
STM32 advanced timers (TIM1 and TIM8) require the Main Output Enable (MOE) bit in the BDTR register to be set for PWM output to function properly. This was already implemented for STM32H7 and STM32G0, but was missing for STM32F0, STM32F1 and STM32F4. This commit adds MOE bit configuration for STM32F0, STM32F1 and STM32F4, and simplifies the implementation by unconditionally enabling MOE for all timers on these platforms. This is safe because MOE is a NOOP (no operation) for non-advanced timers, as confirmed by the STM32 reference manuals. The change unifies the MOE handling across all supported STM32 platforms (F0, F1, F4, H7, G0), making the code simpler and more maintainable. Signed-off-by: Lea <lea.li@reallink-tech.com> |
||
|---|---|---|
| .github | ||
| config | ||
| docs | ||
| klippy | ||
| lib | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| COPYING | ||
| Makefile | ||
| README.md | ||
Welcome to the Klipper project!
The Klipper firmware controls 3d-Printers. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use the Klipper software.
Start by installing Klipper software.
Klipper software is Free Software. See the license or read the documentation. We depend on the generous support from our sponsors.
