Pārlūkot izejas kodu

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

Scott Lahteine 7 gadus atpakaļ
vecāks
revīzija
b7dfc79988
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
69 mainītis faili ar 72 papildinājumiem un 68 dzēšanām
  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 Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/default/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Anet/A6/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Anet/A8/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h Parādīt failu

122
  *
122
  *
123
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
128
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Cartesio/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h Parādīt failu

123
  *
123
  *
124
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
129
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/CR-8/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-2/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-3/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Felix/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Felix/DUAL/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/JGAurora/A5/Configuration.h Parādīt failu

119
  *
119
  *
120
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
125
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/MakerParts/Configuration.h Parādīt failu

134
  *
134
  *
135
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
140
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Malyan/M150/Configuration.h Parādīt failu

119
  *
119
  *
120
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
125
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Malyan/M200/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Mks/Sbase/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/RigidBot/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/SCARA/Configuration.h Parādīt failu

145
  *
145
  *
146
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
151
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/STM32F10/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/STM32F4/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Sanguinololu/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/TheBorg/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/TinyBoy2/Configuration.h Parādīt failu

130
  *
130
  *
131
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
136
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Tronxy/X1/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Tronxy/X5S/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Tronxy/XY100/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration.h Parādīt failu

130
  *
130
  *
131
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
136
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/adafruit/ST7565/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h Parādīt failu

119
  *
119
  *
120
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
125
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/generic/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/kossel_pro/Configuration.h Parādīt failu

118
  *
118
  *
119
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
124
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/makibox/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/stm32f103ret6/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 1
- 1
Marlin/src/config/examples/wt150/Configuration.h Parādīt failu

114
  *
114
  *
115
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
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
  * This setting determines the communication speed of the printer.
120
  * This setting determines the communication speed of the printer.

+ 4
- 0
Marlin/src/inc/SanityCheck.h Parādīt failu

323
   #error "Set SERIAL_PORT to the port on your board. Usually this is 0."
323
   #error "Set SERIAL_PORT to the port on your board. Usually this is 0."
324
 #endif
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
  * Dual Stepper Drivers
331
  * Dual Stepper Drivers
328
  */
332
  */

Notiek ielāde…
Atcelt
Saglabāt