tmc2240: initial implementation

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Alex Voinea
2023-02-26 11:52:03 +01:00
committed by Kevin O'Connor
parent e6ef48cdf7
commit 6b75f54e50
6 changed files with 535 additions and 2 deletions

View File

@@ -6,7 +6,8 @@
import math, logging
import stepper
TRINAMIC_DRIVERS = ["tmc2130", "tmc2208", "tmc2209", "tmc2660", "tmc5160"]
TRINAMIC_DRIVERS = ["tmc2130", "tmc2208", "tmc2209", "tmc2240", "tmc2660",
"tmc5160"]
# Calculate the trigger phase of a stepper motor
class PhaseCalc: