|
@@ -45,13 +45,19 @@
|
45
|
45
|
#endif /* 99 */
|
46
|
46
|
|
47
|
47
|
/****************************************************************************************
|
48
|
|
-* Gen7 v1.1, v1.2, v1.3 pin assignment
|
|
48
|
+* Gen7 v1.1, v1.2, v1.3, v1.4 pin assignment
|
49
|
49
|
*
|
50
|
50
|
****************************************************************************************/
|
51
|
51
|
|
|
52
|
+
|
|
53
|
+#if MOTHERBOARD == 13
|
|
54
|
+#define MOTHERBOARD 11
|
|
55
|
+#define GEN7_VERSION 14 // v1.4
|
|
56
|
+#endif
|
|
57
|
+
|
52
|
58
|
#if MOTHERBOARD == 12
|
53
|
59
|
#define MOTHERBOARD 11
|
54
|
|
-#define GEN7_V_1_3
|
|
60
|
+#define GEN7_VERSION 13 // v1.3
|
55
|
61
|
#endif
|
56
|
62
|
|
57
|
63
|
#if MOTHERBOARD == 11
|
|
@@ -62,6 +68,10 @@
|
62
|
68
|
|
63
|
69
|
#endif
|
64
|
70
|
|
|
71
|
+#ifndef GEN7_VERSION
|
|
72
|
+#define GEN7_VERSION 12 // v1.x
|
|
73
|
+#endif
|
|
74
|
+
|
65
|
75
|
//x axis pins
|
66
|
76
|
#define X_STEP_PIN 19
|
67
|
77
|
#define X_DIR_PIN 18
|
|
@@ -103,7 +113,7 @@
|
103
|
113
|
#define SDSS -1 // SCL pin of I2C header
|
104
|
114
|
#define LED_PIN -1
|
105
|
115
|
|
106
|
|
-#ifdef GEN7_V_1_3
|
|
116
|
+#if (GEN7_VERSION >= 13)
|
107
|
117
|
// Gen7 v1.3 removed the fan pin
|
108
|
118
|
#define FAN_PIN -1
|
109
|
119
|
#else
|
|
@@ -111,9 +121,12 @@
|
111
|
121
|
#endif
|
112
|
122
|
#define PS_ON_PIN 15
|
113
|
123
|
|
|
124
|
+#if (GEN7_VERSION < 14)
|
114
|
125
|
// Gen 1.3 and earlier supplied thermistor power via PS_ON
|
115
|
126
|
// Need to ignore the bad thermistor readings on those units
|
116
|
127
|
#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
|
|
128
|
+#endif
|
|
129
|
+
|
117
|
130
|
//our pin for debugging.
|
118
|
131
|
#define DEBUG_PIN 0
|
119
|
132
|
|