|
@@ -307,6 +307,76 @@
|
307
|
307
|
#define E7_CS_PIN -1
|
308
|
308
|
#endif
|
309
|
309
|
|
|
310
|
+//
|
|
311
|
+// Destroy stepper driver RX and TX pins when set to -1
|
|
312
|
+//
|
|
313
|
+#if !PIN_EXISTS(Z2_SERIAL_TX)
|
|
314
|
+ #undef Z2_SERIAL_TX_PIN
|
|
315
|
+#endif
|
|
316
|
+#if !PIN_EXISTS(Z2_SERIAL_RX)
|
|
317
|
+ #undef Z2_SERIAL_RX_PIN
|
|
318
|
+#endif
|
|
319
|
+#if !PIN_EXISTS(Z3_SERIAL_TX)
|
|
320
|
+ #undef Z3_SERIAL_TX_PIN
|
|
321
|
+#endif
|
|
322
|
+#if !PIN_EXISTS(Z3_SERIAL_RX)
|
|
323
|
+ #undef Z3_SERIAL_RX_PIN
|
|
324
|
+#endif
|
|
325
|
+#if !PIN_EXISTS(Z4_SERIAL_TX)
|
|
326
|
+ #undef Z4_SERIAL_TX_PIN
|
|
327
|
+#endif
|
|
328
|
+#if !PIN_EXISTS(Z4_SERIAL_RX)
|
|
329
|
+ #undef Z4_SERIAL_RX_PIN
|
|
330
|
+#endif
|
|
331
|
+#if !PIN_EXISTS(X2_SERIAL_TX)
|
|
332
|
+ #undef X2_SERIAL_TX_PIN
|
|
333
|
+#endif
|
|
334
|
+#if !PIN_EXISTS(X2_SERIAL_RX)
|
|
335
|
+ #undef X2_SERIAL_RX_PIN
|
|
336
|
+#endif
|
|
337
|
+#if !PIN_EXISTS(Y2_SERIAL_TX)
|
|
338
|
+ #undef Y2_SERIAL_TX_PIN
|
|
339
|
+#endif
|
|
340
|
+#if !PIN_EXISTS(Y2_SERIAL_RX)
|
|
341
|
+ #undef Y2_SERIAL_RX_PIN
|
|
342
|
+#endif
|
|
343
|
+#if !PIN_EXISTS(I_SERIAL_TX)
|
|
344
|
+ #undef I_SERIAL_TX_PIN
|
|
345
|
+#endif
|
|
346
|
+#if !PIN_EXISTS(I_SERIAL_RX)
|
|
347
|
+ #undef I_SERIAL_RX_PIN
|
|
348
|
+#endif
|
|
349
|
+#if !PIN_EXISTS(J_SERIAL_TX)
|
|
350
|
+ #undef J_SERIAL_TX_PIN
|
|
351
|
+#endif
|
|
352
|
+#if !PIN_EXISTS(J_SERIAL_RX)
|
|
353
|
+ #undef J_SERIAL_RX_PIN
|
|
354
|
+#endif
|
|
355
|
+#if !PIN_EXISTS(K_SERIAL_TX)
|
|
356
|
+ #undef K_SERIAL_TX_PIN
|
|
357
|
+#endif
|
|
358
|
+#if !PIN_EXISTS(K_SERIAL_RX)
|
|
359
|
+ #undef K_SERIAL_RX_PIN
|
|
360
|
+#endif
|
|
361
|
+#if !PIN_EXISTS(U_SERIAL_TX)
|
|
362
|
+ #undef U_SERIAL_TX_PIN
|
|
363
|
+#endif
|
|
364
|
+#if !PIN_EXISTS(U_SERIAL_RX)
|
|
365
|
+ #undef U_SERIAL_RX_PIN
|
|
366
|
+#endif
|
|
367
|
+#if !PIN_EXISTS(V_SERIAL_TX)
|
|
368
|
+ #undef V_SERIAL_TX_PIN
|
|
369
|
+#endif
|
|
370
|
+#if !PIN_EXISTS(V_SERIAL_RX)
|
|
371
|
+ #undef V_SERIAL_RX_PIN
|
|
372
|
+#endif
|
|
373
|
+#if !PIN_EXISTS(W_SERIAL_TX)
|
|
374
|
+ #undef W_SERIAL_TX_PIN
|
|
375
|
+#endif
|
|
376
|
+#if !PIN_EXISTS(W_SERIAL_RX)
|
|
377
|
+ #undef W_SERIAL_RX_PIN
|
|
378
|
+#endif
|
|
379
|
+
|
310
|
380
|
#ifndef FAN_PIN
|
311
|
381
|
#define FAN_PIN -1
|
312
|
382
|
#endif
|