aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tmc2208.py
Commit message (Collapse)AuthorAgeFilesLines
* endstop_phase: Add support for detecting phase via TMC stepper driversKevin O'Connor2018-10-161-0/+4
| | | | | | | | The Trinamic stepper motor drivers are capable of reporting the stepper phase - add support for using that capability to the enddstop_phases module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Improve error handlingKevin O'Connor2018-09-301-2/+5
| | | | | | | | Configure the tmc2208 during the 'connect' phase so that a problem during configuration is properly raised as a config error. Catch errors during DUMP_TMC and raise them as g-code errors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Rename add_config_object() to register_config_callback()Kevin O'Connor2018-09-031-1/+1
| | | | | | | | | Change the name of the config registration method and pass an explicit reference to the callback to the new method. This makes the relationship between mcu registration and build_config() more clear in the calling code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Initial support for configuring TMC2208 driversKevin O'Connor2018-08-271-0/+234
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>