|
@@ -49,13 +49,36 @@
|
49
|
49
|
//
|
50
|
50
|
// Limit Switches
|
51
|
51
|
//
|
52
|
|
-#define X_MIN_PIN 64 //12
|
|
52
|
+// Only use Diag Pins when SENSORLESS_HOMING is enabled for the TMC2130 drivers.
|
|
53
|
+// Otherwise use a physical endstop based configuration.
|
|
54
|
+//
|
|
55
|
+// SERVO0_PIN and Z_MIN_PIN configuration for BLTOUCH sensor when combined with SENSORLESS_HOMING.
|
|
56
|
+//
|
|
57
|
+
|
53
|
58
|
#define X_MAX_PIN -1
|
54
|
|
-#define Y_MIN_PIN 69 //11
|
55
|
59
|
#define Y_MAX_PIN -1
|
56
|
|
-#define Z_MIN_PIN 68 //10
|
57
|
60
|
#define Z_MAX_PIN -1
|
58
|
61
|
|
|
62
|
+#if DISABLED(SENSORLESS_HOMING)
|
|
63
|
+
|
|
64
|
+ #define X_MIN_PIN 12
|
|
65
|
+ #define Y_MIN_PIN 11
|
|
66
|
+ #define Z_MIN_PIN 10
|
|
67
|
+
|
|
68
|
+#else
|
|
69
|
+
|
|
70
|
+ #define X_MIN_PIN X_DIAG_PIN
|
|
71
|
+ #define Y_MIN_PIN Y_DIAG_PIN
|
|
72
|
+
|
|
73
|
+ #if ENABLED(BLTOUCH)
|
|
74
|
+ #define Z_MIN_PIN 11 // Y-MIN
|
|
75
|
+ #define SERVO0_PIN 10 // Z-MIN
|
|
76
|
+ #else
|
|
77
|
+ #define Z_MIN_PIN 10
|
|
78
|
+ #endif
|
|
79
|
+
|
|
80
|
+#endif
|
|
81
|
+
|
59
|
82
|
//
|
60
|
83
|
// Z Probe (when not Z_MIN_PIN)
|
61
|
84
|
//
|