|
@@ -364,6 +364,46 @@
|
364
|
364
|
#ifndef Z_MS2_PIN
|
365
|
365
|
#define Z_MS2_PIN -1
|
366
|
366
|
#endif
|
|
367
|
+#ifndef Z_MS3_PIN
|
|
368
|
+ #define Z_MS3_PIN -1
|
|
369
|
+#endif
|
|
370
|
+#ifndef E0_MS1_PIN
|
|
371
|
+ #define E0_MS1_PIN -1
|
|
372
|
+#endif
|
|
373
|
+#ifndef E0_MS2_PIN
|
|
374
|
+ #define E0_MS2_PIN -1
|
|
375
|
+#endif
|
|
376
|
+#ifndef E1_MS1_PIN
|
|
377
|
+ #define E1_MS1_PIN -1
|
|
378
|
+#endif
|
|
379
|
+#ifndef E1_MS2_PIN
|
|
380
|
+ #define E1_MS2_PIN -1
|
|
381
|
+#endif
|
|
382
|
+#ifndef E2_MS1_PIN
|
|
383
|
+ #define E2_MS1_PIN -1
|
|
384
|
+#endif
|
|
385
|
+#ifndef E2_MS2_PIN
|
|
386
|
+ #define E2_MS2_PIN -1
|
|
387
|
+#endif
|
|
388
|
+#ifndef E3_MS1_PIN
|
|
389
|
+ #define E3_MS1_PIN -1
|
|
390
|
+#endif
|
|
391
|
+#ifndef E3_MS2_PIN
|
|
392
|
+ #define E3_MS2_PIN -1
|
|
393
|
+#endif
|
|
394
|
+#ifndef E3_MS3_PIN
|
|
395
|
+ #define E3_MS3_PIN -1
|
|
396
|
+#endif
|
|
397
|
+#ifndef E4_MS1_PIN
|
|
398
|
+ #define E4_MS1_PIN -1
|
|
399
|
+#endif
|
|
400
|
+#ifndef E4_MS2_PIN
|
|
401
|
+ #define E4_MS2_PIN -1
|
|
402
|
+#endif
|
|
403
|
+#ifndef E4_MS3_PIN
|
|
404
|
+ #define E4_MS3_PIN -1
|
|
405
|
+#endif
|
|
406
|
+
|
367
|
407
|
#ifndef E0_STEP_PIN
|
368
|
408
|
#define E0_STEP_PIN -1
|
369
|
409
|
#endif
|
|
@@ -373,12 +413,6 @@
|
373
|
413
|
#ifndef E0_ENABLE_PIN
|
374
|
414
|
#define E0_ENABLE_PIN -1
|
375
|
415
|
#endif
|
376
|
|
-#ifndef E0_MS1_PIN
|
377
|
|
- #define E0_MS1_PIN -1
|
378
|
|
-#endif
|
379
|
|
-#ifndef E0_MS2_PIN
|
380
|
|
- #define E0_MS2_PIN -1
|
381
|
|
-#endif
|
382
|
416
|
#ifndef E1_STEP_PIN
|
383
|
417
|
#define E1_STEP_PIN -1
|
384
|
418
|
#endif
|
|
@@ -388,12 +422,6 @@
|
388
|
422
|
#ifndef E1_ENABLE_PIN
|
389
|
423
|
#define E1_ENABLE_PIN -1
|
390
|
424
|
#endif
|
391
|
|
-#ifndef E1_MS1_PIN
|
392
|
|
- #define E1_MS1_PIN -1
|
393
|
|
-#endif
|
394
|
|
-#ifndef E1_MS2_PIN
|
395
|
|
- #define E1_MS2_PIN -1
|
396
|
|
-#endif
|
397
|
425
|
#ifndef E2_STEP_PIN
|
398
|
426
|
#define E2_STEP_PIN -1
|
399
|
427
|
#endif
|
|
@@ -539,7 +567,7 @@
|
539
|
567
|
#define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, E1_MS1_PIN, E1_MS2_PIN,
|
540
|
568
|
#if EXTRUDERS > 4 // Tools 4 and 5 use E2
|
541
|
569
|
#undef _E2_PINS
|
542
|
|
- #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN,
|
|
570
|
+ #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, E2_MS1_PIN, E2_MS2_PIN,
|
543
|
571
|
#endif
|
544
|
572
|
#endif
|
545
|
573
|
#elif EXTRUDERS > 1
|
|
@@ -547,13 +575,13 @@
|
547
|
575
|
#define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, E1_MS1_PIN, E1_MS2_PIN,
|
548
|
576
|
#if EXTRUDERS > 2
|
549
|
577
|
#undef _E2_PINS
|
550
|
|
- #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN,
|
|
578
|
+ #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, E2_MS1_PIN, E2_MS2_PIN,
|
551
|
579
|
#if EXTRUDERS > 3
|
552
|
580
|
#undef _E3_PINS
|
553
|
|
- #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN,
|
|
581
|
+ #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN, E3_MS1_PIN, E3_MS2_PIN,
|
554
|
582
|
#if EXTRUDERS > 4
|
555
|
583
|
#undef _E4_PINS
|
556
|
|
- #define _E4_PINS E4_STEP_PIN, E4_DIR_PIN, E4_ENABLE_PIN,
|
|
584
|
+ #define _E4_PINS E4_STEP_PIN, E4_DIR_PIN, E4_ENABLE_PIN, E4_MS1_PIN, E4_MS2_PIN,
|
557
|
585
|
#endif // EXTRUDERS > 4
|
558
|
586
|
#endif // EXTRUDERS > 3
|
559
|
587
|
#endif // EXTRUDERS > 2
|
|
@@ -582,16 +610,16 @@
|
582
|
610
|
#endif // HOTENDS > 2
|
583
|
611
|
#elif ENABLED(MIXING_EXTRUDER)
|
584
|
612
|
#undef _E1_PINS
|
585
|
|
- #define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN,
|
|
613
|
+ #define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, E1_MS1_PIN, E1_MS2_PIN,
|
586
|
614
|
#if MIXING_STEPPERS > 2
|
587
|
615
|
#undef _E2_PINS
|
588
|
|
- #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN,
|
|
616
|
+ #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, E2_MS1_PIN, E2_MS2_PIN,
|
589
|
617
|
#if MIXING_STEPPERS > 3
|
590
|
618
|
#undef _E3_PINS
|
591
|
|
- #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN,
|
|
619
|
+ #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN, E3_MS1_PIN, E3_MS2_PIN,
|
592
|
620
|
#if MIXING_STEPPERS > 4
|
593
|
621
|
#undef _E4_PINS
|
594
|
|
- #define _E4_PINS E4_STEP_PIN, E4_DIR_PIN, E4_ENABLE_PIN,
|
|
622
|
+ #define _E4_PINS E4_STEP_PIN, E4_DIR_PIN, E4_ENABLE_PIN, E4_MS1_PIN, E4_MS2_PIN,
|
595
|
623
|
#endif // MIXING_STEPPERS > 4
|
596
|
624
|
#endif // MIXING_STEPPERS > 3
|
597
|
625
|
#endif // MIXING_STEPPERS > 2
|