Procházet zdrojové kódy

Update copyright in header, etc. (#14645)

Ludy před 6 roky
rodič
revize
abc9b52692

+ 32
- 27
Marlin/src/pins/lpc1768/pins_MKS_SBASE.h Zobrazit soubor

@@ -260,7 +260,7 @@
260 260
         #define RGB_LED_B_PIN P1_22        // J8-2  (LCD_D7 on Fysetc schematic)
261 261
       #endif
262 262
     #elif ENABLED(FYSETC_MINI_12864_2_1)
263
-      #define NEOPIXEL_PIN    P2_12
263
+      #define NEOPIXEL_PIN P2_12
264 264
     #endif
265 265
 
266 266
   #elif ENABLED(MINIPANEL)
@@ -304,9 +304,14 @@
304 304
 #endif
305 305
 
306 306
 #if MB(MKS_SBASE) && HAS_TMC220x
307
-  // The shortage of pins becomes apparent.
308
-  // Worst case you may have to give up the LCD
309
-  // RX pins need to be interrupt capable
307
+
308
+  /**
309
+   * TMC2208/TMC2209 stepper drivers
310
+   *
311
+   * The shortage of pins becomes apparent.
312
+   * Worst case you may have to give up the LCD
313
+   * RX pins need to be interrupt capable
314
+   */
310 315
   #define X_SERIAL_TX_PIN  P1_22   // J8-2
311 316
   #define X_SERIAL_RX_PIN  P2_12   // J8-4 Interrupt Capable
312 317
   #define Y_SERIAL_TX_PIN  P1_23   // J8-3
@@ -344,26 +349,26 @@
344 349
  *  PWM1.6   P2_05   RAMPS_D10_PIN
345 350
  */
346 351
 
347
- /**
348
-  * Special pins
349
-  *   P1_30 - not 5V tolerant - EXP1
350
-  *   P1_31 - not 5V tolerant - EXP1
351
-  *   P0_27 - open collector  - EXP2
352
-  *   P0_28 - open collector  - EXP2
353
-  *
354
-  */
355
-
356
- /**
357
-  * Serial Ports
358
-  *   P0_00 - Port  3
359
-  *   P0_01 - SD Card (Onboard)
360
-  *   P0_10 - Port  2
361
-  *   P0_11 - Y_EN/Y_DIR
362
-  *   P0_15 - Port  1
363
-  *   P0_16 - EXP1
364
-  *   P0_02 - Port  0
365
-  *   P0_03 - AUX1
366
-  *   P0_29 - Port -1
367
-  *   P0_30 - USB
368
-  *
369
-  */
352
+/**
353
+ * Special pins
354
+ *   P1_30 - not 5V tolerant - EXP1
355
+ *   P1_31 - not 5V tolerant - EXP1
356
+ *   P0_27 - open collector  - EXP2
357
+ *   P0_28 - open collector  - EXP2
358
+ *
359
+ */
360
+
361
+/**
362
+ * Serial Ports
363
+ *   P0_00 - Port  3
364
+ *   P0_01 - SD Card (Onboard)
365
+ *   P0_10 - Port  2
366
+ *   P0_11 - Y_EN/Y_DIR
367
+ *   P0_15 - Port  1
368
+ *   P0_16 - EXP1
369
+ *   P0_02 - Port  0
370
+ *   P0_03 - AUX1
371
+ *   P0_29 - Port -1
372
+ *   P0_30 - USB
373
+ *
374
+ */

+ 1
- 1
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h Zobrazit soubor

@@ -110,7 +110,7 @@
110 110
 
111 111
 #if HAS_TMC220x
112 112
   /**
113
-   * TMC2208 stepper drivers
113
+   * TMC2208/TMC2209 stepper drivers
114 114
    *
115 115
    * Hardware serial communication ports.
116 116
    * If undefined software serial is used according to the pins below

+ 26
- 26
Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h Zobrazit soubor

@@ -121,24 +121,24 @@
121 121
    * If undefined software serial is used according to the pins below
122 122
    */
123 123
 
124
-  /**
125
-   * Software serial
126
-   */
124
+  //
125
+  // Software serial
126
+  //
127 127
 
128
-   // P2_08 E1-Step
129
-   // P2_13 E1-Dir
128
+  // P2_08 E1-Step
129
+  // P2_13 E1-Dir
130 130
 
131
-  #define X_SERIAL_TX_PIN    P2_13
132
-  #define X_SERIAL_RX_PIN    P2_13
131
+  #define X_SERIAL_TX_PIN  P2_13
132
+  #define X_SERIAL_RX_PIN  P2_13
133 133
 
134
-  #define Y_SERIAL_TX_PIN    P0_00
135
-  #define Y_SERIAL_RX_PIN    P0_00
134
+  #define Y_SERIAL_TX_PIN  P0_00
135
+  #define Y_SERIAL_RX_PIN  P0_00
136 136
 
137
-  #define Z_SERIAL_TX_PIN    P0_01
138
-  #define Z_SERIAL_RX_PIN    P0_01
137
+  #define Z_SERIAL_TX_PIN  P0_01
138
+  #define Z_SERIAL_RX_PIN  P0_01
139 139
 
140
-  #define E0_SERIAL_TX_PIN   P2_08
141
-  #define E0_SERIAL_RX_PIN   P2_08
140
+  #define E0_SERIAL_TX_PIN P2_08
141
+  #define E0_SERIAL_RX_PIN P2_08
142 142
 
143 143
 #endif
144 144
 
@@ -254,9 +254,9 @@
254 254
       #error "LASER_FEATURE requires 3 free servo pins."
255 255
     #endif
256 256
   #endif
257
-  #define SPINDLE_LASER_ENA_PIN    SERVO1_PIN   // (6) Pin should have a pullup/pulldown!
258
-  #define SPINDLE_LASER_PWM_PIN    SERVO3_PIN   // (4) MUST BE HARDWARE PWM
259
-  #define SPINDLE_DIR_PIN          SERVO2_PIN   // (5)
257
+  #define SPINDLE_LASER_ENA_PIN SERVO1_PIN   // (6) Pin should have a pullup/pulldown!
258
+  #define SPINDLE_LASER_PWM_PIN SERVO3_PIN   // (4) MUST BE HARDWARE PWM
259
+  #define SPINDLE_DIR_PIN       SERVO2_PIN   // (5)
260 260
 #endif
261 261
 
262 262
 //
@@ -309,10 +309,10 @@
309 309
 
310 310
 #elif HAS_SPI_LCD
311 311
 
312
-  //#define SCK_PIN        P0_15   // (52)  system defined J3-9 & AUX-3
313
-  //#define MISO_PIN       P0_17   // (50)  system defined J3-10 & AUX-3
314
-  //#define MOSI_PIN       P0_18   // (51)  system defined J3-10 & AUX-3
315
-  //#define SS_PIN         P1_23   // (53)  system defined J3-5 & AUX-3 (Sometimes called SDSS)
312
+  //#define SCK_PIN          P0_15   // (52)  system defined J3-9 & AUX-3
313
+  //#define MISO_PIN         P0_17   // (50)  system defined J3-10 & AUX-3
314
+  //#define MOSI_PIN         P0_18   // (51)  system defined J3-10 & AUX-3
315
+  //#define SS_PIN           P1_23   // (53)  system defined J3-5 & AUX-3 (Sometimes called SDSS)
316 316
 
317 317
   #if ENABLED(FYSETC_MINI_12864)
318 318
     #define BEEPER_PIN     P1_01
@@ -337,10 +337,10 @@
337 337
       #define SHIFT_LD     P1_31   // (49)        J3-1 & AUX-3 (NOT 5V tolerant)
338 338
     #endif
339 339
   #else
340
-    //#define SHIFT_CLK    P3_26   // (31)  J3-2 & AUX-4
341
-    //#define SHIFT_LD     P3_25   // (33)  J3-4 & AUX-4
342
-    //#define SHIFT_OUT    P2_11   // (35)  J3-3 & AUX-4
343
-    //#define SHIFT_EN     P1_22   // (41)  J5-4 & AUX-4
340
+    //#define SHIFT_CLK      P3_26   // (31)  J3-2 & AUX-4
341
+    //#define SHIFT_LD       P3_25   // (33)  J3-4 & AUX-4
342
+    //#define SHIFT_OUT      P2_11   // (35)  J3-3 & AUX-4
343
+    //#define SHIFT_EN       P1_22   // (41)  J5-4 & AUX-4
344 344
   #endif
345 345
 
346 346
   #if ANY(VIKI2, miniVIKI)
@@ -365,7 +365,7 @@
365 365
       //#define FORCE_SOFT_SPI    // Use this if default of hardware SPI causes display problems
366 366
                                   //   results in LCD soft SPI mode 3, SD soft SPI mode 0
367 367
 
368
-      #define LCD_RESET_PIN  P0_16   // Must be high or open for LCD to operate normally.
368
+      #define LCD_RESET_PIN P0_16   // Must be high or open for LCD to operate normally.
369 369
 
370 370
       #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
371 371
         #ifndef RGB_LED_R_PIN
@@ -378,7 +378,7 @@
378 378
           #define RGB_LED_B_PIN P1_08
379 379
         #endif
380 380
       #elif ENABLED(FYSETC_MINI_12864_2_1)
381
-        #define NEOPIXEL_PIN    P1_00
381
+        #define NEOPIXEL_PIN P1_00
382 382
       #endif
383 383
     #else
384 384
       #define DOGLCD_CS    P0_26   // (63) J5-3 & AUX-2

+ 9
- 5
Marlin/src/pins/lpc1769/pins_MKS_SGEN.h Zobrazit soubor

@@ -40,13 +40,17 @@
40 40
 
41 41
 //#undef BTN_EN1
42 42
 //#undef BTN_EN2
43
-//#define BTN_EN1        P1_23   // EXP2.5
44
-//#define BTN_EN2        P1_22   // EXP2.3
43
+//#define BTN_EN1            P1_23   // EXP2.5
44
+//#define BTN_EN2            P1_22   // EXP2.3
45 45
 
46 46
 #if HAS_TMC220x
47
-  // The shortage of pins becomes apparent.
48
-  // In the worst case you may have to give up the LCD.
49
-  // RX pins must be interrupt-capable.
47
+  /**
48
+   * TMC2208/TMC2209 stepper drivers
49
+   *
50
+   * The shortage of pins becomes apparent.
51
+   * In the worst case you may have to give up the LCD.
52
+   * RX pins must be interrupt-capable.
53
+   */
50 54
   #define X_SERIAL_TX_PIN  P4_29   // J8-2
51 55
   #define X_SERIAL_RX_PIN  P4_29   // J8-2
52 56
 

+ 6
- 2
Marlin/src/pins/ramps/pins_FYSETC_F6_13.h Zobrazit soubor

@@ -118,8 +118,12 @@
118 118
 //
119 119
 
120 120
 #if HAS_TMC220x
121
-  // Software serial
122
-  // At the moment, F6 rx pins are not pc interrupt pins
121
+  /**
122
+   * TMC2208/TMC2209 stepper drivers
123
+   *
124
+   * Software serial communication pins.
125
+   * At the moment, F6 rx pins are not pc interrupt pins
126
+   */
123 127
   #define X_SERIAL_RX_PIN  -1   // 71
124 128
   #define X_SERIAL_TX_PIN  72
125 129
   #define Y_SERIAL_RX_PIN  -1   // 73

+ 4
- 4
Marlin/src/pins/ramps/pins_TT_OSCAR.h Zobrazit soubor

@@ -1,9 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
3
+ * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4 4
  *
5 5
  * Based on Sprinter and grbl.
6
- * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7 7
  *
8 8
  * This program is free software: you can redistribute it and/or modify
9 9
  * it under the terms of the GNU General Public License as published by
@@ -99,9 +99,9 @@
99 99
 #define E4_ENABLE_PIN      47
100 100
 #define E4_CS_PIN          E0_CS_PIN
101 101
 
102
-#if ENABLED(HAVE_TMC2208)
102
+#if HAS_TMC220x
103 103
   /**
104
-   * TMC2208 stepper drivers
104
+   * TMC2208/TMC2209 stepper drivers
105 105
    *
106 106
    * Hardware serial communication ports.
107 107
    * If undefined software serial is used according to the pins below

Loading…
Zrušit
Uložit