Quellcode durchsuchen

Revert "pins add old names"

This reverts commit 6f70e5618e.
Bob-the-Kuhn vor 7 Jahren
Ursprung
Commit
7c274d249b
1 geänderte Dateien mit 121 neuen und 123 gelöschten Zeilen
  1. 121
    123
      Marlin/src/pins/pins_RAMPS_RE_ARM.h

+ 121
- 123
Marlin/src/pins/pins_RAMPS_RE_ARM.h Datei anzeigen

@@ -34,8 +34,6 @@
34 34
  *
35 35
  */
36 36
 
37
-// numbers in parenthesis () are the mega2560 equivalent pin numbers
38
-
39 37
 #ifndef TARGET_LPC1768
40 38
   #error "Oops!  Make sure you have LPC1768 selected."
41 39
 #endif
@@ -49,60 +47,60 @@
49 47
 //
50 48
 // Servos
51 49
 //
52
-#define SERVO0_PIN         P1_20  // (11)
53
-#define SERVO1_PIN         P1_21  // ( 6) also on J5-1
54
-#define SERVO2_PIN         P1_19  // ( 5)
55
-#define SERVO3_PIN         P1_18  // ( 4) 5V output - PWM capable
50
+#define SERVO0_PIN         P1_20
51
+#define SERVO1_PIN         P1_21  // also on J5-1
52
+#define SERVO2_PIN         P1_19
53
+#define SERVO3_PIN         P1_18  // 5V output - PWM capable
56 54
 
57 55
 //
58 56
 // Limit Switches
59 57
 //
60
-#define X_MIN_PIN          P1_24  // ( 3) 10k pullup to 3.3V, 1K series
61
-#define X_MAX_PIN          P1_25  // ( 2) 10k pullup to 3.3V, 1K series
62
-#define Y_MIN_PIN          P1_26  // (14) 10k pullup to 3.3V, 1K series
63
-#define Y_MAX_PIN          P1_27  // (15) 10k pullup to 3.3V, 1K series
64
-#define Z_MIN_PIN          P1_29  // (18) 10k pullup to 3.3V, 1K series
65
-#define Z_MAX_PIN          P1_28  // (19) 10k pullup to 3.3V, 1K series
58
+#define X_MIN_PIN          P1_24  //10k pullup to 3.3V, 1K series
59
+#define X_MAX_PIN          P1_25  //10k pullup to 3.3V, 1K series
60
+#define Y_MIN_PIN          P1_26  //10k pullup to 3.3V, 1K series
61
+#define Y_MAX_PIN          P1_27  //10k pullup to 3.3V, 1K series
62
+#define Z_MIN_PIN          P1_29  //10k pullup to 3.3V, 1K series
63
+#define Z_MAX_PIN          P1_28  //10k pullup to 3.3V, 1K series
66 64
 
67 65
 //
68 66
 // Steppers
69 67
 //
70
-#define X_STEP_PIN         P2_1   // (54)
71
-#define X_DIR_PIN          P0_11  // (55)
72
-#define X_ENABLE_PIN       P0_10  // (38)
68
+#define X_STEP_PIN         P2_1
69
+#define X_DIR_PIN          P0_11
70
+#define X_ENABLE_PIN       P0_10
73 71
 
74
-#define Y_STEP_PIN         P2_2   // (60)
75
-#define Y_DIR_PIN          P0_20  // (61)
76
-#define Y_ENABLE_PIN       P0_19  // (56)
72
+#define Y_STEP_PIN         P2_2
73
+#define Y_DIR_PIN          P0_20
74
+#define Y_ENABLE_PIN       P0_19
77 75
 
78
-#define Z_STEP_PIN         P2_3   // (46)
79
-#define Z_DIR_PIN          P0_22  // (48)
80
-#define Z_ENABLE_PIN       P0_21  // (62)
76
+#define Z_STEP_PIN         P2_3
77
+#define Z_DIR_PIN          P0_22
78
+#define Z_ENABLE_PIN       P0_21
81 79
 
82
-#define E0_STEP_PIN        P2_0   // (26)
83
-#define E0_DIR_PIN         P0_5   // (28)
84
-#define E0_ENABLE_PIN      P0_4   // (24)
80
+#define E0_STEP_PIN        P2_0
81
+#define E0_DIR_PIN         P0_5
82
+#define E0_ENABLE_PIN      P0_4
85 83
 
86
-#define E1_STEP_PIN        P2_8   // (36)
87
-#define E1_DIR_PIN         P2_13  // (34)
88
-#define E1_ENABLE_PIN      P4_29  // (30)
84
+#define E1_STEP_PIN        P2_8
85
+#define E1_DIR_PIN         P2_13
86
+#define E1_ENABLE_PIN      P4_29
89 87
 
90
-#define E2_STEP_PIN        P2_8   // (36)
91
-#define E2_DIR_PIN         P2_13  // (34)
92
-#define E2_ENABLE_PIN      P4_29  // (30)
88
+#define E2_STEP_PIN        P2_8
89
+#define E2_DIR_PIN         P2_13
90
+#define E2_ENABLE_PIN      P4_29
93 91
 
94 92
 //
95 93
 // Temperature Sensors
96 94
 //  3.3V max when defined as an analog input
97 95
 //
98
-#define TEMP_0_PIN         0  //A0 (T0) - (67) - TEMP_0_PIN
99
-#define TEMP_BED_PIN       1  //A1 (T1) - (68) - TEMP_BED_PIN
100
-#define TEMP_1_PIN         2  //A2 (T2) - (69) - TEMP_1_PIN
101
-#define TEMP_2_PIN         3  //A3 - (63) - J5-3 & AUX-2
102
-#define TEMP_3_PIN         4  //A4 - (37) - BUZZER_PIN
103
-//#define TEMP_4_PIN         5  //A5 - (49) - SD_DETECT_PIN
104
-//#define ??               6  //A6 - ( 0)  - RXD0 - J4-4 & AUX-1
105
-#define FILWIDTH_PIN       7  //A7 - ( 1)  - TXD0 - J4-5 & AUX-1
96
+#define TEMP_0_PIN         0  //A0 (T0) - D67 - TEMP_0_PIN
97
+#define TEMP_BED_PIN       1  //A1 (T1) - D68 - TEMP_BED_PIN
98
+#define TEMP_1_PIN         2  //A2 (T2) - D69 - TEMP_1_PIN
99
+#define TEMP_2_PIN         3  //A3 - D63 - J5-3 & AUX-2
100
+#define TEMP_3_PIN         4  //A4 - D37 - BUZZER_PIN
101
+//#define TEMP_4_PIN         5  //A5 - D49 - SD_DETECT_PIN
102
+//#define ??               6  //A6 - D0  - RXD0 - J4-4 & AUX-1
103
+#define FILWIDTH_PIN       7  //A7 - D1  - TXD0 - J4-5 & AUX-1
106 104
 
107 105
 
108 106
 //
@@ -129,13 +127,13 @@
129 127
   #define MOSFET_D_PIN   -1
130 128
 #endif
131 129
 #ifndef RAMPS_D8_PIN
132
-  #define RAMPS_D8_PIN   P2_7  // (8)
130
+  #define RAMPS_D8_PIN   P2_7
133 131
 #endif
134 132
 #ifndef RAMPS_D9_PIN
135
-  #define RAMPS_D9_PIN   P2_4  // (9)
133
+  #define RAMPS_D9_PIN   P2_4
136 134
 #endif
137 135
 #ifndef RAMPS_D10_PIN
138
-  #define RAMPS_D10_PIN  P2_5  // (10)
136
+  #define RAMPS_D10_PIN  P2_5
139 137
 #endif
140 138
 
141 139
 #define HEATER_0_PIN     RAMPS_D10_PIN
@@ -165,22 +163,22 @@
165 163
 #endif
166 164
 
167 165
 #ifndef FAN_PIN
168
-  #define FAN_PIN         P1_18 // (4) IO pin. Buffer needed
166
+  #define FAN_PIN         P1_18 // IO pin. Buffer needed
169 167
 #endif
170 168
 
171 169
 //
172 170
 // Misc. Functions
173 171
 //
174
-#define LED_PIN           P4_28 // (13)
172
+#define LED_PIN           P4_28
175 173
 
176
-// define digital pin 4 for ther t filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
177
-#define FIL_RUNOUT_PIN    P1_18  // (4)
174
+// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
175
+#define FIL_RUNOUT_PIN    P1_18
178 176
 
179
-#define PS_ON_PIN         P2_12 // (12)
177
+#define PS_ON_PIN         P2_12
180 178
 
181 179
 #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
182 180
   #if !defined(NUM_SERVOS) || NUM_SERVOS < 4 // try to use servo connector
183
-    #define CASE_LIGHT_PIN    P1_18 // (4) MUST BE HARDWARE PWM
181
+    #define CASE_LIGHT_PIN    P1_18 // MUST BE HARDWARE PWM
184 182
   #endif
185 183
 #endif
186 184
 
@@ -192,17 +190,17 @@
192 190
     #undef  SERVO1
193 191
     #undef  SERVO2
194 192
     #undef  SERVO3
195
-    #define SPINDLE_LASER_ENABLE_PIN  P1_21   // (6) Pin should have a pullup/pulldown!
196
-    #define SPINDLE_LASER_PWM_PIN     P1_18   // (4) MUST BE HARDWARE PWM
197
-    #define SPINDLE_DIR_PIN           P1_19   // (5)
193
+    #define SPINDLE_LASER_ENABLE_PIN  P1_21  // Pin should have a pullup/pulldown!
194
+    #define SPINDLE_LASER_PWM_PIN     P1_18  // MUST BE HARDWARE PWM
195
+    #define SPINDLE_DIR_PIN           P1_19
198 196
   #endif
199 197
 #endif
200 198
 //
201 199
 // Průša i3 MK2 Multiplexer Support
202 200
 //
203
-#define E_MUX0_PIN         P0_3    // ( 0) Z_CS_PIN
204
-#define E_MUX1_PIN         P0_2    // ( 1) E0_CS_PIN
205
-#define E_MUX2_PIN         P0_26   // (63) E1_CS_PIN
201
+#define E_MUX0_PIN         P0_3    // Z_CS_PIN
202
+#define E_MUX1_PIN         P0_2    // E0_CS_PIN
203
+#define E_MUX2_PIN         P0_26   // E1_CS_PIN
206 204
 
207 205
 /**
208 206
  * LCD / Controller
@@ -225,76 +223,76 @@
225 223
 
226 224
 #if ENABLED(ULTRA_LCD)
227 225
 
228
-  #define BEEPER_PIN          P1_30  // (37) not 5V tolerant
226
+  #define BEEPER_PIN          P1_30  // not 5V tolerant
229 227
 
230
-  #define BTN_EN1             P3_26  // (31) J3-2 & AUX-4
231
-  #define BTN_EN2             P3_25  // (33) J3-4 & AUX-4
232
-  #define BTN_ENC             P2_11  // (35) J3-3 & AUX-4
228
+  #define BTN_EN1             P3_26  // J3-2 & AUX-4
229
+  #define BTN_EN2             P3_25  // J3-4 & AUX-4
230
+  #define BTN_ENC             P2_11  // J3-3 & AUX-4
233 231
 
234
-  #define SD_DETECT_PIN       P1_31  // (49) not 5V tolerant   J3-1 & AUX-3
235
-  #define KILL_PIN            P1_22  // (41) J5-4 & AUX-4
236
-  #define LCD_PINS_RS         P0_16  // (16) J3-7 & AUX-4
237
-  #define LCD_SDSS            P0_16  // (16) J3-7 & AUX-4
238
-  #define LCD_BACKLIGHT_PIN   P0_16  // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
239
-  #define LCD_PINS_ENABLE     P0_18  // (51) (MOSI) J3-10 & AUX-3
240
-  #define LCD_PINS_D4         P0_15  // (52) (SCK)  J3-9 & AUX-3
232
+  #define SD_DETECT_PIN       P1_31  // not 5V tolerant   J3-1 & AUX-3
233
+  #define KILL_PIN            P1_22  // J5-4 & AUX-4
234
+  #define LCD_PINS_RS         P0_16  // J3-7 & AUX-4
235
+  #define LCD_SDSS            P0_16  // J3-7 & AUX-4
236
+  #define LCD_BACKLIGHT_PIN   P0_16  // J3-7 & AUX-4 - only used on DOGLCD controllers
237
+  #define LCD_PINS_ENABLE     P0_18  // (MOSI) J3-10 & AUX-3
238
+  #define LCD_PINS_D4         P0_15  // (SCK)  J3-9 & AUX-3
241 239
 
242
-  #define DOGLCD_A0           P2_6   // (59) J3-8 & AUX-2
243
-  #define DOGLCD_CS           P0_26  // (63) J5-3 & AUX-2
240
+  #define DOGLCD_A0           P2_6   // J3-8 & AUX-2
241
+  #define DOGLCD_CS           P0_26  // J5-3 & AUX-2
244 242
 
245 243
   #ifdef ULTIPANEL
246
-    #define LCD_PINS_D5       P1_17  // (71) ENET_MDIO
247
-    #define LCD_PINS_D6       P1_14  // (73) ENET_RX_ER
248
-    #define LCD_PINS_D7       P1_10  // (75) ENET_RXD1
244
+    #define LCD_PINS_D5       P1_17  // ENET_MDIO
245
+    #define LCD_PINS_D6       P1_14  // ENET_RX_ER
246
+    #define LCD_PINS_D7       P1_10  // ENET_RXD1
249 247
   #endif
250 248
 
251 249
   #if ENABLED(NEWPANEL)
252 250
     #if ENABLED(REPRAPWORLD_KEYPAD)
253
-      #define SHIFT_OUT         P0_18  // (51)  (MOSI) J3-10 & AUX-3
254
-      #define SHIFT_CLK         P0_15  // (52)  (SCK)  J3-9 & AUX-3
255
-      #define SHIFT_LD          P1_31  // (49)  not 5V tolerant   J3-1 & AUX-3
251
+      #define SHIFT_OUT         P0_18  // (MOSI) J3-10 & AUX-3
252
+      #define SHIFT_CLK         P0_15  // (SCK)  J3-9 & AUX-3
253
+      #define SHIFT_LD          P1_31  // not 5V tolerant   J3-1 & AUX-3
256 254
     #endif
257 255
   #else
258
-    //#define SHIFT_CLK           P3_26  // (31)  J3-2 & AUX-4
259
-    //#define SHIFT_LD            P3_25  // (33)  J3-4 & AUX-4
260
-    //#define SHIFT_OUT           P2_11  // (35)  J3-3 & AUX-4
261
-    //#define SHIFT_EN            P1_22  // (41)  J5-4 & AUX-4
256
+    //#define SHIFT_CLK           P3_26  // J3-2 & AUX-4
257
+    //#define SHIFT_LD            P3_25  // J3-4 & AUX-4
258
+    //#define SHIFT_OUT           P2_11  // J3-3 & AUX-4
259
+    //#define SHIFT_EN            P1_22  // J5-4 & AUX-4
262 260
   #endif
263 261
 
264 262
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
265 263
     // #define LCD_SCREEN_ROT_180
266 264
 
267 265
     #undef  BEEPER_PIN
268
-    #define BEEPER_PIN          P1_30  // (37) may change if cable changes
266
+    #define BEEPER_PIN          P1_30  // may change if cable changes
269 267
 
270
-    #define BTN_EN1             P3_26  // (31) J3-2 & AUX-4
271
-    #define BTN_EN2             P3_25  // (33) J3-4 & AUX-4
272
-    #define BTN_ENC             P2_11  // (35) J3-3 & AUX-4
268
+    #define BTN_EN1             P3_26  // J3-2 & AUX-4
269
+    #define BTN_EN2             P3_25  // J3-4 & AUX-4
270
+    #define BTN_ENC             P2_11  // J3-3 & AUX-4
273 271
 
274
-    #define SD_DETECT_PIN       P1_31  // (49) not 5V tolerant   J3-1 & AUX-3
275
-    #define KILL_PIN            P1_22  // (41) J5-4 & AUX-4
272
+    #define SD_DETECT_PIN       P1_31  // not 5V tolerant   J3-1 & AUX-3
273
+    #define KILL_PIN            P1_22  // J5-4 & AUX-4
276 274
 
277 275
     #undef  DOGLCD_CS
278
-    #define DOGLCD_CS           P0_16   // (16)
279
-    #undef  LCD_BACKLIGHT_PIN   //P0_16  // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
280
-    #undef  LCD_PINS_ENABLE     //P0_18  // (51) (MOSI) J3-10 & AUX-3
281
-    #undef  LCD_PINS_D4         //P0_15  // (52) (SCK)  J3-9 & AUX-3
282
-
283
-    #undef  LCD_PINS_D5         //P2_6   // (59) J3-8 & AUX-2
284
-    #define DOGLCD_A0           P2_6   // (59) J3-8 & AUX-2
285
-    #undef  LCD_PINS_D6         //P0_26  // (63) J5-3 & AUX-2
286
-    #undef  LCD_PINS_D7         //P1_21  // ( 6) (SERVO1) J5-1 & SERVO connector
276
+    #define DOGLCD_CS           P0_16
277
+    #undef  LCD_BACKLIGHT_PIN   //P0_16  // J3-7 & AUX-4 - only used on DOGLCD controllers
278
+    #undef  LCD_PINS_ENABLE     //P0_18  // (MOSI) J3-10 & AUX-3
279
+    #undef  LCD_PINS_D4         //P0_15  // (SCK)  J3-9 & AUX-3
280
+
281
+    #undef  LCD_PINS_D5         //P2_6   // J3-8 & AUX-2
282
+    #define DOGLCD_A0           P2_6   // J3-8 & AUX-2
283
+    #undef  LCD_PINS_D6         //P0_26  // J5-3 & AUX-2
284
+    #undef  LCD_PINS_D7         //P1_21  // (SERVO1) J5-1 & SERVO connector
287 285
     #define DOGLCD_SCK          SCK_PIN
288 286
     #define DOGLCD_MOSI         MOSI_PIN
289 287
 
290
-    #define STAT_LED_BLUE_PIN   P0_26  // (63)  may change if cable changes
291
-    #define STAT_LED_RED_PIN    P1_21  // ( 6)  may change if cable changes
288
+    #define STAT_LED_BLUE_PIN   P0_26  // may change if cable changes
289
+    #define STAT_LED_RED_PIN    P1_21  // may change if cable changes
292 290
   #endif
293 291
 
294
-  //#define MISO_PIN            P0_17  // (50)  system defined J3-10 & AUX-3
295
-  //#define MOSI_PIN            P0_18  // (51)  system defined J3-10 & AUX-3
296
-  //#define SCK_PIN             P0_15  // (52)  system defined J3-9 & AUX-3
297
-  //#define SS_PIN              P1_23  // (53)  system defined J3-5 & AUX-3 - sometimes called SDSS
292
+  //#define MISO_PIN            P0_17  // system defined J3-10 & AUX-3
293
+  //#define MOSI_PIN            P0_18  // system defined J3-10 & AUX-3
294
+  //#define SCK_PIN             P0_15  // system defined J3-9 & AUX-3
295
+  //#define SS_PIN              P1_23  // system defined J3-5 & AUX-3 - sometimes called SDSS
298 296
 
299 297
   #if ENABLED(MINIPANEL)
300 298
     // GLCD features
@@ -311,17 +309,17 @@
311 309
 // Ethernet pins
312 310
 //
313 311
 #ifndef ULTIPANEL
314
-  #define ENET_MDIO   P1_17  // (71)  J12-4
315
-  #define ENET_RX_ER  P1_14  // (73)  J12-6
316
-  #define ENET_RXD1   P1_10  // (75)  J12-8
312
+  #define ENET_MDIO   P1_17  // J12-4
313
+  #define ENET_RX_ER  P1_14  // J12-6
314
+  #define ENET_RXD1   P1_10  // J12-8
317 315
 #endif
318
-#define ENET_MOC      P1_16  // (70)  J12-3
319
-#define REF_CLK       P1_15  // (72)  J12-5
320
-#define ENET_RXD0     P1_9   // (74)  J12-7
321
-#define ENET_CRS      P1_8   // (76)  J12-9
322
-#define ENET_TX_EN    P1_4   // (77)  J12-10
323
-#define ENET_TXD0     P1_0   // (78)  J12-11
324
-#define ENET_TXD1     P1_1   // (79)  J12-12
316
+#define ENET_MOC      P1_16  // J12-3
317
+#define REF_CLK       P1_15  // J12-5
318
+#define ENET_RXD0     P1_9   // J12-7
319
+#define ENET_CRS      P1_8   // J12-9
320
+#define ENET_TX_EN    P1_4   // J12-10
321
+#define ENET_TXD0     P1_0   // J12-11
322
+#define ENET_TXD1     P1_1   // J12-12
325 323
 
326 324
 /**
327 325
  *  PWMS
@@ -330,25 +328,25 @@
330 328
  *
331 329
  *  SERVO2 does NOT have a PWM assigned to it.
332 330
  *
333
- *  PWM1.1   P0_18 ( 4)   SERVO3_PIN       FIL_RUNOUT_PIN   5V output, PWM
334
- *  PWM1.1   P2_0  (26)   E0_STEP_PIN
335
- *  PWM1.2   P1_20 (11)   SERVO0_PIN
336
- *  PWM1.2   P2_1  (54)   X_STEP_PIN
337
- *  PWM1.3   P1_21 ( 6)   SERVO1_PIN       J5-1
338
- *  PWM1.3   P2_2  (60)   Y_STEP_PIN
339
- *  PWM1.4   P1_23 (53)   SDSS(SSEL0)      J3-5  AUX-3
340
- *  PWM1.4   P2_3  (46)   Z_STEP_PIN
341
- *  PWM1.5   P1_24 ( 3)   X_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
342
- *  PWM1.5   P2_4  ( 9)   RAMPS_D9_PIN
343
- *  PWM1.6   P1_26 (14)   Y_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
344
- *  PWM1.6   P2_5  (10)   RAMPS_D10_PIN
331
+ *  PWM1.1   P0_18   SERVO3_PIN       FIL_RUNOUT_PIN   5V output, PWM
332
+ *  PWM1.1   P2_0    E0_STEP_PIN
333
+ *  PWM1.2   P1_20   SERVO0_PIN
334
+ *  PWM1.2   P2_1    X_STEP_PIN
335
+ *  PWM1.3   P1_21   SERVO1_PIN       J5-1
336
+ *  PWM1.3   P2_2    Y_STEP_PIN
337
+ *  PWM1.4   P1_23   SDSS(SSEL0)      J3-5  AUX-3
338
+ *  PWM1.4   P2_3    Z_STEP_PIN
339
+ *  PWM1.5   P1_24   X_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
340
+ *  PWM1.5   P2_4    RAMPS_D9_PIN
341
+ *  PWM1.6   P1_26   Y_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
342
+ *  PWM1.6   P2_5    RAMPS_D10_PIN
345 343
  */
346 344
 
347 345
  /**
348 346
   * special pins
349
-  *   P1_30  (37) - not 5V tolerant
350
-  *   P1_31  (49) - not 5V tolerant
351
-  *   P0_27  (57) - open collector
352
-  *   P0_28  (58) - open collector
347
+  *   P1_30 - not 5V tolerant
348
+  *   P1_31 - not 5V tolerant
349
+  *   P0_27 - open collector
350
+  *   P0_28 - open collector
353 351
   *
354 352
  */

Laden…
Abbrechen
Speichern