The changes should be:
– Added TrinamicUartDriverClass.cpp (.h is a TODO).
– Changed MotorClass.h to add TrinamicUartDriverClass class declaration.
– Changed MotorClass.cpp to manage use of TMC2208 drivers, I used the preprocessor as you did for the rest of the Motor classes. For the moment I just did the declaration and some test on XYZ motors, while the ABC are untouched at the moment. I also did a local test declaring 4 motors, 3 2130 and 1 2208 on the Y axis.
-Added tmc2208_test.h Machine, with just 1 motor on the X axis and the pins needed, maybe something more that could be removed.