Explorar el Código

Disable SERIAL_PORT_2 by default and sanity-check it (#10748)

Scott Lahteine hace 6 años
padre
commit
b7dfc79988
No account linked to committer's email address
Se han modificado 69 ficheros con 72 adiciones y 68 borrados
  1. 1
    1
      Marlin/Configuration.h
  2. 1
    1
      Marlin/src/config/default/Configuration.h
  3. 1
    1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 1
    1
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  5. 1
    1
      Marlin/src/config/examples/Anet/A6/Configuration.h
  6. 1
    1
      Marlin/src/config/examples/Anet/A8/Configuration.h
  7. 1
    1
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  8. 1
    1
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  9. 1
    1
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  10. 1
    1
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  11. 1
    1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  12. 1
    1
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  13. 1
    1
      Marlin/src/config/examples/Cartesio/Configuration.h
  14. 1
    1
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  15. 1
    1
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  16. 1
    1
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  17. 1
    1
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  18. 1
    1
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  19. 1
    1
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  20. 1
    1
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  21. 1
    1
      Marlin/src/config/examples/Felix/Configuration.h
  22. 1
    1
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  23. 1
    1
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  24. 1
    1
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  25. 1
    1
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  26. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  27. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  28. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  29. 1
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  30. 1
    1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  31. 1
    1
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  32. 1
    1
      Marlin/src/config/examples/MakerParts/Configuration.h
  33. 1
    1
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  34. 1
    1
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  35. 1
    1
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  36. 1
    1
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  37. 1
    1
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  38. 1
    1
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  39. 1
    1
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  40. 1
    1
      Marlin/src/config/examples/RigidBot/Configuration.h
  41. 1
    1
      Marlin/src/config/examples/SCARA/Configuration.h
  42. 1
    1
      Marlin/src/config/examples/STM32F10/Configuration.h
  43. 1
    1
      Marlin/src/config/examples/STM32F4/Configuration.h
  44. 1
    1
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  45. 1
    1
      Marlin/src/config/examples/TheBorg/Configuration.h
  46. 1
    1
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  47. 1
    1
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  48. 1
    1
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  49. 1
    1
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  50. 1
    1
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  51. 1
    1
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  52. 1
    1
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  53. 1
    1
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  54. 1
    1
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  55. 1
    1
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  56. 1
    1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  57. 1
    1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  58. 1
    1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  59. 1
    1
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  60. 1
    1
      Marlin/src/config/examples/delta/generic/Configuration.h
  61. 1
    1
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  62. 1
    1
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  63. 1
    1
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  64. 1
    1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  65. 1
    1
      Marlin/src/config/examples/makibox/Configuration.h
  66. 1
    1
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  67. 1
    1
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  68. 1
    1
      Marlin/src/config/examples/wt150/Configuration.h
  69. 4
    0
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/default/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Anet/A6/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Anet/A8/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h Ver fichero

@@ -122,7 +122,7 @@
122 122
  *
123 123
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
124 124
  */
125
-#define SERIAL_PORT_2 -1
125
+//#define SERIAL_PORT_2 -1
126 126
 
127 127
 /**
128 128
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Cartesio/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h Ver fichero

@@ -123,7 +123,7 @@
123 123
  *
124 124
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
125 125
  */
126
-#define SERIAL_PORT_2 -1
126
+//#define SERIAL_PORT_2 -1
127 127
 
128 128
 /**
129 129
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-8/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-2/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-3/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Felix/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Felix/DUAL/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/JGAurora/A5/Configuration.h Ver fichero

@@ -119,7 +119,7 @@
119 119
  *
120 120
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
121 121
  */
122
-#define SERIAL_PORT_2 -1
122
+//#define SERIAL_PORT_2 -1
123 123
 
124 124
 /**
125 125
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/MakerParts/Configuration.h Ver fichero

@@ -134,7 +134,7 @@
134 134
  *
135 135
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
136 136
  */
137
-#define SERIAL_PORT_2 0
137
+//#define SERIAL_PORT_2 0
138 138
 
139 139
 /**
140 140
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Malyan/M150/Configuration.h Ver fichero

@@ -119,7 +119,7 @@
119 119
  *
120 120
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
121 121
  */
122
-#define SERIAL_PORT_2 -1
122
+//#define SERIAL_PORT_2 -1
123 123
 
124 124
 /**
125 125
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Malyan/M200/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Mks/Sbase/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/RigidBot/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/SCARA/Configuration.h Ver fichero

@@ -145,7 +145,7 @@
145 145
  *
146 146
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
147 147
  */
148
-#define SERIAL_PORT_2 -1
148
+//#define SERIAL_PORT_2 -1
149 149
 
150 150
 /**
151 151
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/STM32F10/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/STM32F4/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-//#define SERIAL_PORT_2 -1
117
+////#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Sanguinololu/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/TheBorg/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 5
117
+//#define SERIAL_PORT_2 5
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/TinyBoy2/Configuration.h Ver fichero

@@ -130,7 +130,7 @@
130 130
  *
131 131
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
132 132
  */
133
-#define SERIAL_PORT_2 -1
133
+//#define SERIAL_PORT_2 -1
134 134
 
135 135
 /**
136 136
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Tronxy/X1/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Tronxy/X5S/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Tronxy/XY100/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration.h Ver fichero

@@ -130,7 +130,7 @@
130 130
  *
131 131
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
132 132
  */
133
-#define SERIAL_PORT_2 -1
133
+//#define SERIAL_PORT_2 -1
134 134
 
135 135
 /**
136 136
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/adafruit/ST7565/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h Ver fichero

@@ -119,7 +119,7 @@
119 119
  *
120 120
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
121 121
  */
122
-#define SERIAL_PORT_2 -1
122
+//#define SERIAL_PORT_2 -1
123 123
 
124 124
 /**
125 125
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/generic/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/kossel_pro/Configuration.h Ver fichero

@@ -118,7 +118,7 @@
118 118
  *
119 119
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
120 120
  */
121
-#define SERIAL_PORT_2 -1
121
+//#define SERIAL_PORT_2 -1
122 122
 
123 123
 /**
124 124
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/makibox/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/stm32f103ret6/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/wt150/Configuration.h Ver fichero

@@ -114,7 +114,7 @@
114 114
  *
115 115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
116 116
  */
117
-#define SERIAL_PORT_2 -1
117
+//#define SERIAL_PORT_2 -1
118 118
 
119 119
 /**
120 120
  * This setting determines the communication speed of the printer.

+ 4
- 0
Marlin/src/inc/SanityCheck.h Ver fichero

@@ -323,6 +323,10 @@
323 323
   #error "Set SERIAL_PORT to the port on your board. Usually this is 0."
324 324
 #endif
325 325
 
326
+#if SERIAL_PORT_2 && NUM_SERIAL < 2
327
+  #error "SERIAL_PORT_2 is not supported for your MOTHERBOARD. Disable it to continue."
328
+#endif
329
+
326 330
 /**
327 331
  * Dual Stepper Drivers
328 332
  */

Loading…
Cancelar
Guardar