|
@@ -133,6 +133,8 @@
|
133
|
133
|
#define AXIS_HAS_UART(A) ( AXIS_DRIVER_TYPE(A,TMC2208) \
|
134
|
134
|
|| AXIS_DRIVER_TYPE(A,TMC2209) )
|
135
|
135
|
|
|
136
|
+#define AXIS_HAS_RXTX AXIS_HAS_UART
|
|
137
|
+
|
136
|
138
|
#define AXIS_HAS_SW_SERIAL(A) ((AXIS_HAS_UART(A) && !defined(A##_HARDWARE_SERIAL)))
|
137
|
139
|
|
138
|
140
|
#define AXIS_HAS_STALLGUARD(A) ( AXIS_DRIVER_TYPE(A,TMC2130) \
|
|
@@ -172,7 +174,7 @@
|
172
|
174
|
#define HAS_STALLGUARD ANY_AXIS_HAS(STALLGUARD)
|
173
|
175
|
#define HAS_SG_RESULT ANY_AXIS_HAS(SG_RESULT)
|
174
|
176
|
#define HAS_COOLSTEP ANY_AXIS_HAS(COOLSTEP)
|
175
|
|
-#define HAS_TMC_UART ANY_AXIS_HAS(UART)
|
|
177
|
+#define HAS_TMC_UART ANY_AXIS_HAS(RXTX)
|
176
|
178
|
#define HAS_TMC_SPI ANY_AXIS_HAS(SPI)
|
177
|
179
|
#define HAS_TMC_SW_SERIAL ANY_AXIS_HAS(SW_SERIAL)
|
178
|
180
|
|