Kevin O'Connor
a730aec8bc
tmc_uart: Add support for configuring the uart address on tmc2209 chips
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-07-31 13:02:27 -04:00
Kevin O'Connor
1fcfff2ac6
tmc_uart: Remove references to the TMC2208 in the generic UART code
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-07-21 09:39:07 -04:00
Kevin O'Connor
041831f93a
tmc_uart: Hold a mutex during MCU_TMC_uart get/set_register()
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-06-28 16:59:26 -04:00
Kevin O'Connor
9855354c75
tmc_uart: Use print_time=None as default (not print_time=0)
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-06-25 18:27:59 -04:00
Kevin O'Connor
6ec7dee07d
tmc: It's not valid to schedule messages with print_time=0
...
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>
2019-06-25 18:19:05 -04:00
Kevin O'Connor
0b02d7a1f2
tmc_uart: Support print_time in set_register()
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-06-21 21:47:37 -04:00
Kevin O'Connor
0173bb3f71
tmc_uart: Move UART code from tmc2208.py to new file tmc_uart.py
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-06-18 18:06:05 -04:00