|
@@ -23,6 +23,36 @@
|
23
|
23
|
|
24
|
24
|
#define BOARD_INFO_NAME "BIGTREE SKR 1.3"
|
25
|
25
|
|
|
26
|
+/**
|
|
27
|
+ * Limit Switches
|
|
28
|
+ *
|
|
29
|
+ * For Stallguard homing to max swap the min / max pins so
|
|
30
|
+ * the MAX physical connectors can be used for other things.
|
|
31
|
+ */
|
|
32
|
+#if X_HOME_DIR == -1 || !X_STALL_SENSITIVITY
|
|
33
|
+ #define X_MIN_PIN P1_29 // X_MIN
|
|
34
|
+ #define X_MAX_PIN P1_28 // X_MAX
|
|
35
|
+#else
|
|
36
|
+ #define X_MIN_PIN P1_28 // X_MAX
|
|
37
|
+ #define X_MAX_PIN P1_29 // X_MIN
|
|
38
|
+#endif
|
|
39
|
+
|
|
40
|
+#if Y_HOME_DIR == -1 || !Y_STALL_SENSITIVITY
|
|
41
|
+ #define Y_MIN_PIN P1_27 // Y_MIN
|
|
42
|
+ #define Y_MAX_PIN P1_26 // Y_MAX
|
|
43
|
+#else
|
|
44
|
+ #define Y_MIN_PIN P1_26 // Y_MAX
|
|
45
|
+ #define Y_MAX_PIN P1_27 // Y_MIN
|
|
46
|
+#endif
|
|
47
|
+
|
|
48
|
+#if Z_HOME_DIR == -1 || !Z_STALL_SENSITIVITY
|
|
49
|
+ #define Z_MIN_PIN P1_25 // Z_MIN
|
|
50
|
+ #define Z_MAX_PIN P1_24 // Z_MAX
|
|
51
|
+#else
|
|
52
|
+ #define Z_MIN_PIN P1_24 // Z_MAX
|
|
53
|
+ #define Z_MAX_PIN P1_25 // Z_MIN
|
|
54
|
+#endif
|
|
55
|
+
|
26
|
56
|
//
|
27
|
57
|
// Servos
|
28
|
58
|
//
|