Browse Source

Clean up pins files

Scott Lahteine 5 years ago
parent
commit
664e20754d
46 changed files with 62 additions and 110 deletions
  1. 1
    3
      Marlin/src/pins/pins_ANET_10.h
  2. 1
    3
      Marlin/src/pins/pins_AZSMZ_MINI.h
  3. 2
    4
      Marlin/src/pins/pins_AZTEEG_X5_GT.h
  4. 2
    4
      Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h
  5. 1
    3
      Marlin/src/pins/pins_BIQU_BQ111_A4.h
  6. 1
    1
      Marlin/src/pins/pins_BRAINWAVE.h
  7. 1
    1
      Marlin/src/pins/pins_BRAINWAVE_PRO.h
  8. 1
    1
      Marlin/src/pins/pins_CHEAPTRONIC.h
  9. 1
    1
      Marlin/src/pins/pins_CHEAPTRONICv2.h
  10. 1
    1
      Marlin/src/pins/pins_CNCONTROLS_12.h
  11. 1
    3
      Marlin/src/pins/pins_COHESION3D_MINI.h
  12. 1
    3
      Marlin/src/pins/pins_COHESION3D_REMIX.h
  13. 2
    4
      Marlin/src/pins/pins_EINSTART-S.h
  14. 1
    1
      Marlin/src/pins/pins_EINSY_RAMBO.h
  15. 1
    1
      Marlin/src/pins/pins_EINSY_RETRO.h
  16. 1
    3
      Marlin/src/pins/pins_ESP32.h
  17. 2
    4
      Marlin/src/pins/pins_FYSETC_F6_13.h
  18. 1
    1
      Marlin/src/pins/pins_GEN3_PLUS.h
  19. 1
    1
      Marlin/src/pins/pins_GEN7_CUSTOM.h
  20. 1
    1
      Marlin/src/pins/pins_LEAPFROG.h
  21. 1
    1
      Marlin/src/pins/pins_MEGATRONICS.h
  22. 1
    1
      Marlin/src/pins/pins_MINITRONICS.h
  23. 8
    12
      Marlin/src/pins/pins_MKS_SBASE.h
  24. 1
    1
      Marlin/src/pins/pins_OMCA.h
  25. 1
    1
      Marlin/src/pins/pins_OMCA_A.h
  26. 1
    1
      Marlin/src/pins/pins_PRINTRBOARD.h
  27. 2
    1
      Marlin/src/pins/pins_PRINTRBOARD_REVF.h
  28. 1
    1
      Marlin/src/pins/pins_RADDS.h
  29. 1
    3
      Marlin/src/pins/pins_RAMPS4DUE.h
  30. 1
    3
      Marlin/src/pins/pins_RAMPS_DUO.h
  31. 1
    1
      Marlin/src/pins/pins_RAMPS_FD_V1.h
  32. 1
    1
      Marlin/src/pins/pins_RAMPS_FD_V2.h
  33. 1
    1
      Marlin/src/pins/pins_RAMPS_OLD.h
  34. 1
    3
      Marlin/src/pins/pins_RAMPS_PLUS.h
  35. 2
    4
      Marlin/src/pins/pins_RAMPS_RE_ARM.h
  36. 1
    3
      Marlin/src/pins/pins_RAMPS_SMART.h
  37. 1
    3
      Marlin/src/pins/pins_RURAMPS4D_11.h
  38. 1
    3
      Marlin/src/pins/pins_RURAMPS4D_13.h
  39. 2
    4
      Marlin/src/pins/pins_SELENA_COMPACT.h
  40. 1
    3
      Marlin/src/pins/pins_SILVER_GATE.h
  41. 2
    4
      Marlin/src/pins/pins_SMOOTHIEBOARD.h
  42. 1
    1
      Marlin/src/pins/pins_TEENSY2.h
  43. 1
    1
      Marlin/src/pins/pins_TEENSYLU.h
  44. 1
    3
      Marlin/src/pins/pins_TRIGORILLA_13.h
  45. 1
    3
      Marlin/src/pins/pins_TRIGORILLA_14.h
  46. 2
    3
      Marlin/src/pins/pins_ULTRATRONICS_PRO.h

+ 1
- 3
Marlin/src/pins/pins_ANET_10.h View File

@@ -92,9 +92,7 @@
92 92
   #error "Oops! Select 'Anet V1.0', 'Anet V1.0 (Optiboot)' or 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.'"
93 93
 #endif
94 94
 
95
-#ifndef BOARD_NAME
96
-  #define BOARD_NAME "Anet"
97
-#endif
95
+#define BOARD_NAME "Anet 1.0"
98 96
 
99 97
 //
100 98
 // Limit Switches

+ 1
- 3
Marlin/src/pins/pins_AZSMZ_MINI.h View File

@@ -28,9 +28,7 @@
28 28
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
29 29
 #endif
30 30
 
31
-#ifndef BOARD_NAME
32
-  #define BOARD_NAME "AZSMZ MINI"
33
-#endif
31
+#define BOARD_NAME "AZSMZ MINI"
34 32
 
35 33
 //
36 34
 // Servos

+ 2
- 4
Marlin/src/pins/pins_AZTEEG_X5_GT.h View File

@@ -29,10 +29,8 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-#ifndef BOARD_NAME
33
-  #define BOARD_NAME "Azteeg X5 GT"
34
-  #define DEFAULT_WEBSITE_URL "https://www.panucatt.com/azteeg_X5_GT_reprap_3d_printer_controller_p/ax5gt.htm"
35
-#endif
32
+#define BOARD_NAME          "Azteeg X5 GT"
33
+#define DEFAULT_WEBSITE_URL "https://www.panucatt.com/azteeg_X5_GT_reprap_3d_printer_controller_p/ax5gt.htm"
36 34
 
37 35
 //
38 36
 //  Set CPU

+ 2
- 4
Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h View File

@@ -29,10 +29,8 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-#ifndef BOARD_NAME
33
-  #define BOARD_NAME "Azteeg X5 MINI WIFI"
34
-  #define DEFAULT_WEBSITE_URL "http://www.panucatt.com/azteeg_X5_mini_reprap_3d_printer_controller_p/ax5mini.htm"
35
-#endif
32
+#define BOARD_NAME          "Azteeg X5 MINI WIFI"
33
+#define DEFAULT_WEBSITE_URL "http://www.panucatt.com/azteeg_X5_mini_reprap_3d_printer_controller_p/ax5mini.htm"
36 34
 
37 35
 //
38 36
 // LED

+ 1
- 3
Marlin/src/pins/pins_BIQU_BQ111_A4.h View File

@@ -34,9 +34,7 @@
34 34
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
35 35
 #endif
36 36
 
37
-#ifndef BOARD_NAME
38
-  #define BOARD_NAME "BIQU BQ111-A4"
39
-#endif
37
+#define BOARD_NAME "BIQU BQ111-A4"
40 38
 
41 39
 //
42 40
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_BRAINWAVE.h View File

@@ -71,7 +71,7 @@
71 71
   #error "Oops! Select 'AT90USB646_TEENSYPP' in 'Tools > Board.'"
72 72
 #endif
73 73
 
74
-#define BOARD_NAME         "Brainwave"
74
+#define BOARD_NAME "Brainwave"
75 75
 
76 76
 //
77 77
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_BRAINWAVE_PRO.h View File

@@ -78,7 +78,7 @@
78 78
   #error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
79 79
 #endif
80 80
 
81
-#define BOARD_NAME         "Brainwave Pro"
81
+#define BOARD_NAME "Brainwave Pro"
82 82
 
83 83
 //
84 84
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_CHEAPTRONIC.h View File

@@ -28,7 +28,7 @@
28 28
   #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#define BOARD_NAME         "Cheaptronic v1.0"
31
+#define BOARD_NAME "Cheaptronic v1.0"
32 32
 //
33 33
 // Limit Switches
34 34
 //

+ 1
- 1
Marlin/src/pins/pins_CHEAPTRONICv2.h View File

@@ -30,7 +30,7 @@
30 30
   #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
31 31
 #endif
32 32
 
33
-#define BOARD_NAME         "Cheaptronic v2.0"
33
+#define BOARD_NAME "Cheaptronic v2.0"
34 34
 
35 35
 //
36 36
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_CNCONTROLS_12.h View File

@@ -6,7 +6,7 @@
6 6
   #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
7 7
 #endif
8 8
 
9
-#define BOARD_NAME            "CN Controls V12"
9
+#define BOARD_NAME "CN Controls V12"
10 10
 
11 11
 //
12 12
 // Limit Switches

+ 1
- 3
Marlin/src/pins/pins_COHESION3D_MINI.h View File

@@ -29,9 +29,7 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-#ifndef BOARD_NAME
33
-  #define BOARD_NAME "Cohesion3D Mini"
34
-#endif
32
+#define BOARD_NAME "Cohesion3D Mini"
35 33
 
36 34
 //
37 35
 // Servos

+ 1
- 3
Marlin/src/pins/pins_COHESION3D_REMIX.h View File

@@ -29,9 +29,7 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-#ifndef BOARD_NAME
33
-  #define BOARD_NAME "Cohesion3D ReMix"
34
-#endif
32
+#define BOARD_NAME "Cohesion3D ReMix"
35 33
 
36 34
 //
37 35
 // Servos

+ 2
- 4
Marlin/src/pins/pins_EINSTART-S.h View File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 /**
24
- * Einstart S pin assignments
24
+ * Einstart-S pin assignments
25 25
  * PCB Silkscreen: 3DPrinterCon_v3.5
26 26
  */
27 27
 
@@ -37,9 +37,7 @@
37 37
   #endif
38 38
 #endif
39 39
 
40
-#ifndef BOARD_NAME
41
-  #define BOARD_NAME "EINSTART_S"
42
-#endif
40
+#define BOARD_NAME "Einstart-S"
43 41
 
44 42
 //
45 43
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_EINSY_RAMBO.h View File

@@ -28,7 +28,7 @@
28 28
   #error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#define BOARD_NAME         "Einsy Rambo"
31
+#define BOARD_NAME "Einsy Rambo"
32 32
 
33 33
 //
34 34
 // TMC2130 Configuration_adv defaults for EinsyRambo

+ 1
- 1
Marlin/src/pins/pins_EINSY_RETRO.h View File

@@ -28,7 +28,7 @@
28 28
   #error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#define BOARD_NAME         "Einsy Retro"
31
+#define BOARD_NAME "Einsy Retro"
32 32
 
33 33
 //
34 34
 // TMC2130 Configuration_adv defaults for EinsyRetro

+ 1
- 3
Marlin/src/pins/pins_ESP32.h View File

@@ -24,9 +24,7 @@
24 24
  * Espressif ESP32 (Tensilica Xtensa LX6) pin assignments
25 25
  */
26 26
 
27
-#ifndef BOARD_NAME
28
-  #define BOARD_NAME "Espressif ESP32"
29
-#endif
27
+#define BOARD_NAME "Espressif ESP32"
30 28
 
31 29
 //
32 30
 // Limit Switches

+ 2
- 4
Marlin/src/pins/pins_FYSETC_F6_13.h View File

@@ -25,12 +25,10 @@
25 25
 //
26 26
 
27 27
 #ifndef __AVR_ATmega2560__
28
-  #error "Oops! Select 'FYSETC_F6' in 'Tools > Board.'"
28
+  #error "Oops! Select 'FYSETC F6' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#ifndef BOARD_NAME
32
-  #define BOARD_NAME "FYSETC_F6_13"
33
-#endif
31
+#define BOARD_NAME "FYSETC F6 1.3"
34 32
 
35 33
 //
36 34
 // Servos

+ 1
- 1
Marlin/src/pins/pins_GEN3_PLUS.h View File

@@ -54,7 +54,7 @@
54 54
   #error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
55 55
 #endif
56 56
 
57
-#define BOARD_NAME         "Gen3+"
57
+#define BOARD_NAME "Gen3+"
58 58
 
59 59
 //
60 60
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_GEN7_CUSTOM.h View File

@@ -58,7 +58,7 @@
58 58
   #error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
59 59
 #endif
60 60
 
61
-#define BOARD_NAME      "Gen7 Custom"
61
+#define BOARD_NAME "Gen7 Custom"
62 62
 
63 63
 //
64 64
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_LEAPFROG.h View File

@@ -28,7 +28,7 @@
28 28
   #error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#define BOARD_NAME         "Leapfrog"
31
+#define BOARD_NAME "Leapfrog"
32 32
 
33 33
 //
34 34
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_MEGATRONICS.h View File

@@ -28,7 +28,7 @@
28 28
   #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#define BOARD_NAME         "Megatronics"
31
+#define BOARD_NAME "Megatronics"
32 32
 //
33 33
 // Limit Switches
34 34
 //

+ 1
- 1
Marlin/src/pins/pins_MINITRONICS.h View File

@@ -39,7 +39,7 @@
39 39
   #error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
40 40
 #endif
41 41
 
42
-#define BOARD_NAME         "Minitronics v1.0 / v1.1"
42
+#define BOARD_NAME "Minitronics v1.0/1.1"
43 43
 //
44 44
 // Limit Switches
45 45
 //

+ 8
- 12
Marlin/src/pins/pins_MKS_SBASE.h View File

@@ -29,18 +29,8 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-#ifndef BOARD_NAME
33
-  #define BOARD_NAME "MKS SBASE"
34
-  #define DEFAULT_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SBASE"
35
-#endif
36
-
37
-// unused
38
-/*
39
-#define PIN_P0_27          P0_27   // EXP2/Onboard SD
40
-#define PIN_P0_28          P0_28   // EXP2
41
-#define PIN_P0_02          P0_02   // AUX1 (Interrupt Capable/ADC/Serial Port 0)
42
-#define PIN_P0_03          P0_03   // AUX1 (Interrupt Capable/ADC/Serial Port 0)
43
-*/
32
+#define BOARD_NAME          "MKS SBASE"
33
+#define DEFAULT_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SBASE"
44 34
 
45 35
 #define LED_PIN            P1_18   // Used as a status indicator
46 36
 #define LED2_PIN           P1_19
@@ -303,6 +293,12 @@
303 293
   #define E0_SERIAL_RX_PIN P0_26   // TH4
304 294
 #endif
305 295
 
296
+// UNUSED
297
+#define PIN_P0_27          P0_27   // EXP2/Onboard SD
298
+#define PIN_P0_28          P0_28   // EXP2
299
+#define PIN_P0_02          P0_02   // AUX1 (Interrupt Capable/ADC/Serial Port 0)
300
+#define PIN_P0_03          P0_03   // AUX1 (Interrupt Capable/ADC/Serial Port 0)
301
+
306 302
 /**
307 303
  *  PWMs
308 304
  *

+ 1
- 1
Marlin/src/pins/pins_OMCA.h View File

@@ -80,7 +80,7 @@
80 80
   #error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega644' or 'ATmega644P' in 'Tools > Processor.'"
81 81
 #endif
82 82
 
83
-#define BOARD_NAME         "Final OMCA"
83
+#define BOARD_NAME "Final OMCA"
84 84
 
85 85
 //
86 86
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_OMCA_A.h View File

@@ -79,7 +79,7 @@
79 79
   #error "Oops! Select 'Sanguino' in 'Tools > Board' and ATmega644 in 'Tools > Processor.'"
80 80
 #endif
81 81
 
82
-#define BOARD_NAME         "Alpha OMCA"
82
+#define BOARD_NAME "Alpha OMCA"
83 83
 
84 84
 //
85 85
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_PRINTRBOARD.h View File

@@ -65,7 +65,7 @@
65 65
   #error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
66 66
 #endif
67 67
 
68
-#define BOARD_NAME         "Printrboard"
68
+#define BOARD_NAME "Printrboard"
69 69
 
70 70
 // Disable JTAG pins so they can be used for the Extrudrboard
71 71
 #define DISABLE_JTAG

+ 2
- 1
Marlin/src/pins/pins_PRINTRBOARD_REVF.h View File

@@ -70,7 +70,8 @@
70 70
   #error "USBCON should be defined by the platform for this board."
71 71
 #endif
72 72
 
73
-#define BOARD_NAME         "Printrboard Rev.F"
73
+#define BOARD_NAME "Printrboard Rev.F"
74
+
74 75
 // Disable JTAG pins so EXP1 pins work correctly
75 76
 // (Its pins are used for the Extrudrboard and filament sensor, for example).
76 77
 #define DISABLE_JTAG

+ 1
- 1
Marlin/src/pins/pins_RADDS.h View File

@@ -28,7 +28,7 @@
28 28
   #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#define BOARD_NAME         "RADDS"
31
+#define BOARD_NAME "RADDS"
32 32
 
33 33
 //
34 34
 // Servos

+ 1
- 3
Marlin/src/pins/pins_RAMPS4DUE.h View File

@@ -42,9 +42,7 @@
42 42
   #error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
43 43
 #endif
44 44
 
45
-#ifndef BOARD_NAME
46
-  #define BOARD_NAME       "RAMPS4DUE"
47
-#endif
45
+#define BOARD_NAME "RAMPS4DUE"
48 46
 
49 47
 #define IS_RAMPS4DUE
50 48
 #include "pins_RAMPS.h"

+ 1
- 3
Marlin/src/pins/pins_RAMPS_DUO.h View File

@@ -46,9 +46,7 @@
46 46
   #error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
47 47
 #endif
48 48
 
49
-#ifndef BOARD_NAME
50
-  #define BOARD_NAME       "RAMPS Duo"
51
-#endif
49
+#define BOARD_NAME "RAMPS Duo"
52 50
 
53 51
 #define IS_RAMPS_DUO
54 52
 #include "pins_RAMPS.h"

+ 1
- 1
Marlin/src/pins/pins_RAMPS_FD_V1.h View File

@@ -32,7 +32,7 @@
32 32
 #endif
33 33
 
34 34
 #ifndef BOARD_NAME
35
-  #define BOARD_NAME       "RAMPS-FD"
35
+  #define BOARD_NAME "RAMPS-FD v1"
36 36
 #endif
37 37
 
38 38
 #define INVERTED_HEATER_PINS

+ 1
- 1
Marlin/src/pins/pins_RAMPS_FD_V2.h View File

@@ -27,7 +27,7 @@
27 27
  * Use 1k thermistor tables
28 28
  */
29 29
 
30
-#define BOARD_NAME         "RAMPS-FD v2"
30
+#define BOARD_NAME "RAMPS-FD v2"
31 31
 
32 32
 #ifndef E0_CS_PIN
33 33
   #define E0_CS_PIN        69 // moved from A13 to A15 on v2.2, if not earlier

+ 1
- 1
Marlin/src/pins/pins_RAMPS_OLD.h View File

@@ -28,7 +28,7 @@
28 28
   #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
29 29
 #endif
30 30
 
31
-#define BOARD_NAME         "MEGA/RAMPS <1.2"
31
+#define BOARD_NAME "RAMPS <1.2"
32 32
 
33 33
 // Uncomment the following line for RAMPS v1.0
34 34
 //#define RAMPS_V_1_0

+ 1
- 3
Marlin/src/pins/pins_RAMPS_PLUS.h View File

@@ -41,9 +41,7 @@
41 41
  #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
42 42
 #endif
43 43
 
44
-#ifndef BOARD_NAME
45
- #define BOARD_NAME "RAMPS 1.4 Plus"
46
-#endif
44
+#define BOARD_NAME "RAMPS 1.4 Plus"
47 45
 
48 46
 #define RAMPS_D8_PIN  10
49 47
 #define RAMPS_D10_PIN  8

+ 2
- 4
Marlin/src/pins/pins_RAMPS_RE_ARM.h View File

@@ -34,15 +34,13 @@
34 34
  *
35 35
  */
36 36
 
37
-// numbers in parenthesis () are the mega2560 equivalent pin numbers
37
+// Numbers in parentheses () are the corresponding mega2560 pin numbers
38 38
 
39 39
 #ifndef TARGET_LPC1768
40 40
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
41 41
 #endif
42 42
 
43
-#ifndef BOARD_NAME
44
-  #define BOARD_NAME "Re-ARM RAMPS 1.4"
45
-#endif
43
+#define BOARD_NAME "Re-ARM RAMPS 1.4"
46 44
 
47 45
 //
48 46
 // Servos

+ 1
- 3
Marlin/src/pins/pins_RAMPS_SMART.h View File

@@ -63,9 +63,7 @@
63 63
   #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
64 64
 #endif
65 65
 
66
-#ifndef BOARD_NAME
67
-  #define BOARD_NAME       "RAMPS-SMART"
68
-#endif
66
+#define BOARD_NAME "RAMPS-SMART"
69 67
 
70 68
 #define IS_RAMPS_SMART
71 69
 #include "pins_RAMPS.h"

+ 1
- 3
Marlin/src/pins/pins_RURAMPS4D_11.h View File

@@ -36,9 +36,7 @@
36 36
   #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
37 37
 #endif
38 38
 
39
-#ifndef BOARD_NAME
40
-  #define BOARD_NAME       "RuRAMPS4Due v1.1"
41
-#endif
39
+#define BOARD_NAME "RuRAMPS4Due v1.1"
42 40
 
43 41
 //
44 42
 // Servos

+ 1
- 3
Marlin/src/pins/pins_RURAMPS4D_13.h View File

@@ -36,9 +36,7 @@
36 36
   #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
37 37
 #endif
38 38
 
39
-#ifndef BOARD_NAME
40
-  #define BOARD_NAME       "RuRAMPS4Due v1.3"
41
-#endif
39
+#define BOARD_NAME "RuRAMPS4Due v1.3"
42 40
 
43 41
 //
44 42
 // Servos

+ 2
- 4
Marlin/src/pins/pins_SELENA_COMPACT.h View File

@@ -29,10 +29,8 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-#ifndef BOARD_NAME
33
-  #define BOARD_NAME "Selena Compact"
34
-  #define DEFAULT_WEBSITE_URL "https://github.com/Ales2-k/Selena"
35
-#endif
32
+#define BOARD_NAME          "Selena Compact"
33
+#define DEFAULT_WEBSITE_URL "https://github.com/Ales2-k/Selena"
36 34
 
37 35
 //
38 36
 // Limit Switches

+ 1
- 3
Marlin/src/pins/pins_SILVER_GATE.h View File

@@ -24,9 +24,7 @@
24 24
   #error "Oops! Select 'Silvergate' in 'Tools > Board.'"
25 25
 #endif
26 26
 
27
-#ifndef BOARD_NAME
28
-  #define BOARD_NAME "Silver Gate"
29
-#endif
27
+#define BOARD_NAME "Silver Gate"
30 28
 
31 29
 #define X_STEP_PIN         43
32 30
 #define X_DIR_PIN          44

+ 2
- 4
Marlin/src/pins/pins_SMOOTHIEBOARD.h View File

@@ -29,10 +29,8 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-#ifndef BOARD_NAME
33
-  #define BOARD_NAME "Smoothieboard"
34
-  #define DEFAULT_WEBSITE_URL "http://smoothieware.org/smoothieboard"
35
-#endif
32
+#define BOARD_NAME          "Smoothieboard"
33
+#define DEFAULT_WEBSITE_URL "http://smoothieware.org/smoothieboard"
36 34
 
37 35
 #undef F_CPU
38 36
 #define F_CPU 120000000

+ 1
- 1
Marlin/src/pins/pins_TEENSY2.h View File

@@ -110,7 +110,7 @@
110 110
   #error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
111 111
 #endif
112 112
 
113
-#define BOARD_NAME         "Teensy++2.0"
113
+#define BOARD_NAME "Teensy++2.0"
114 114
 
115 115
 //
116 116
 // Limit Switches

+ 1
- 1
Marlin/src/pins/pins_TEENSYLU.h View File

@@ -77,7 +77,7 @@
77 77
   #error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
78 78
 #endif
79 79
 
80
-#define BOARD_NAME         "Teensylu"
80
+#define BOARD_NAME "Teensylu"
81 81
 
82 82
 //
83 83
 // Limit Switch definitions that match the SCHEMATIC

+ 1
- 3
Marlin/src/pins/pins_TRIGORILLA_13.h View File

@@ -24,9 +24,7 @@
24 24
  * Arduino Mega with RAMPS v1.3 for Anycubic
25 25
  */
26 26
 
27
-#ifndef BOARD_NAME
28
-  #define BOARD_NAME "Anycubic RAMPS 1.3"
29
-#endif
27
+#define BOARD_NAME "Anycubic RAMPS 1.3"
30 28
 
31 29
 #define IS_RAMPS_EFB
32 30
 #define RAMPS_D9_PIN         44

+ 1
- 3
Marlin/src/pins/pins_TRIGORILLA_14.h View File

@@ -24,9 +24,7 @@
24 24
  * Arduino Mega with RAMPS v1.4 for Anycubic
25 25
  */
26 26
 
27
-#ifndef BOARD_NAME
28
-  #define BOARD_NAME "Anycubic RAMPS 1.4"
29
-#endif
27
+#define BOARD_NAME "Anycubic RAMPS 1.4"
30 28
 
31 29
 // Labeled pins
32 30
 #define TRIGORILLA_HEATER_BED_PIN  8

+ 2
- 3
Marlin/src/pins/pins_ULTRATRONICS_PRO.h View File

@@ -24,13 +24,12 @@
24 24
  * ReprapWorld ULTRATRONICS v1.0
25 25
  */
26 26
 
27
-#define KNOWN_BOARD
28
-#define BOARD_NAME "Ultratronics v1.0"
29
-
30 27
 #ifndef ARDUINO_ARCH_SAM
31 28
   #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
32 29
 #endif
33 30
 
31
+#define BOARD_NAME "Ultratronics v1.0"
32
+
34 33
 //
35 34
 // Servos
36 35
 //

Loading…
Cancel
Save