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

@@ -84,6 +84,17 @@ cs_pin: PK1
run_current: .5
sense_resistor: 0.220
[stepper_z2]
step_pin: PH1
dir_pin: PA2
enable_pin: !PA3
microsteps: 16
rotation_distance: 8
[tmc2240 stepper_z2]
cs_pin: PK3
run_current: .5
[mcu]
serial: /dev/ttyACM0