Klipper is a 3d-printer firmware
Find a file
Lea ab19a2821e stm32: Enable MOE bit unconditionally for F0/F1/F4
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>
2025-11-15 03:40:02 +00:00
.github workflows: Update github build-test.yaml to ubuntu-22.04 2025-04-16 13:19:54 -04:00
config config: Modify software SPI to hardware SPI for BIGTREETECH boards 2025-09-28 22:00:58 -04:00
docs docs: Update FAQ.md - Typo (#7089) 2025-10-13 13:53:13 -04:00
klippy serialqueue: decouple pending & ready queues 2025-10-30 20:16:25 -04:00
lib spi_flash: FATFS fix missing long filenames support needed by flash-sdcard.sh (#6981) 2025-07-27 12:09:11 -04:00
scripts graphstats: Set MAXBUFFER=1 2025-10-10 11:07:50 -04:00
src stm32: Enable MOE bit unconditionally for F0/F1/F4 2025-11-15 03:40:02 +00:00
test resonance_tester: Support testing resonances over Z axis 2025-10-04 19:50:34 -04:00
.gitignore util: Fix versioning when gitdir is absent (#809) 2018-10-27 10:44:38 -04:00
COPYING COPYING: Update GPLv3 license to latest text (uses https instead of http) 2022-06-03 11:28:44 -04:00
Makefile Revert "Makefile: Don't disable gcc's use-linker-plugin option" 2025-04-16 15:24:05 -04:00
README.md docs: Improve wording of main Klipper page 2025-01-21 18:54:00 -05:00

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

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.