Клиппер
Go to file
Alex Voinea bee1c67416 tmc5160: allow changing the globalscaler at runtime
Previously, the globalscaler was calculated during the config parsing and set to a fixed value. If the current was changed for any reason after the initialization, only IRUN and IHOLD would be changed. This however caused issues:
- If the new current was lower, then the resolution of the possible current values would be low since there are only 32 IRUN/IHOLD steps.
- If the new current was higher, it wouldn't actually work since IRUN and IHOLD are capped at 31, so it wouldn't be possible to increase the current without increasing globalscaler.

With this commit, the globalscaler is recalculated whenever necessary in order to ensure the correct range of IRUN/IHOLD is used.

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
2023-03-07 10:55:44 -05:00
.github workflows: Convert to Ubuntu 20.04 for build test 2023-02-09 20:57:53 -05:00
config config: Update printer-sunlu-t3-2022.cfg (#6040) 2023-02-28 12:41:02 -05:00
docs tmc5160: allow changing the globalscaler at runtime 2023-03-07 10:55:44 -05:00
klippy tmc5160: allow changing the globalscaler at runtime 2023-03-07 10:55:44 -05:00
lib ar100: Support for ar100 (#6054) 2023-02-20 20:15:01 -05:00
scripts scripts: Update flash-linux.sh to restart new systemd service (#6049) 2023-02-23 11:44:58 -05:00
src stm32h7: Restore the RCC set in the bootloader to the default value (#6092) 2023-03-06 11:53:18 -05:00
test tmc2240: initial implementation 2023-03-01 20:43:53 -05: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 makefile: disable null pointer checks 2022-06-08 12:17:12 -04:00
README.md docs: Add a Sponsors.md file 2022-07-16 10:48:10 -04:00

README.md

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

Klipper is a 3d-Printer firmware. 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 Klipper.

To begin using Klipper start by installing it.

Klipper is Free Software. See the license or read the documentation. We depend on the generous support from our sponsors.