aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tmc_uart.py
Commit message (Collapse)AuthorAgeFilesLines
* tmc_uart: Make sure address is at least 0Kevin O'Connor2019-07-311-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc_uart: Add support for configuring the uart address on tmc2209 chipsKevin O'Connor2019-07-311-12/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc_uart: Remove references to the TMC2208 in the generic UART codeKevin O'Connor2019-07-211-6/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc_uart: Hold a mutex during MCU_TMC_uart get/set_register()Kevin O'Connor2019-06-281-10/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc_uart: Use print_time=None as default (not print_time=0)Kevin O'Connor2019-06-251-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: It's not valid to schedule messages with print_time=0Kevin O'Connor2019-06-251-2/+4
| | | | | | | | A print_time of zero may translate to a negative clock on a secondary micro-controller, which would cause an internal error. Change the code to pass a real print_time or None if it is not needed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc_uart: Support print_time in set_register()Kevin O'Connor2019-06-211-3/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc_uart: Move UART code from tmc2208.py to new file tmc_uart.pyKevin O'Connor2019-06-181-0/+216
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>