Bläddra i källkod

🎨 Fix/adjust warnings (#24225)

Keith Bennett 2 år sedan
förälder
incheckning
d99185be24
Inget konto är kopplat till bidragsgivarens mejladress
99 ändrade filer med 177 tillägg och 122 borttagningar
  1. 1
    1
      Marlin/src/lcd/menu/menu_motion.cpp
  2. 1
    1
      Marlin/src/module/stepper.cpp
  3. 1
    1
      Marlin/src/module/stepper.h
  4. 2
    2
      Marlin/src/pins/esp32/pins_E4D.h
  5. 2
    2
      Marlin/src/pins/esp32/pins_FYSETC_E4.h
  6. 2
    2
      Marlin/src/pins/esp32/pins_MKS_TINYBEE.h
  7. 2
    2
      Marlin/src/pins/esp32/pins_MRR_ESPA.h
  8. 2
    2
      Marlin/src/pins/esp32/pins_MRR_ESPE.h
  9. 6
    2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h
  10. 6
    2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
  11. 3
    1
      Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
  12. 6
    2
      Marlin/src/pins/lpc1769/pins_BTT_SKR_E3_TURBO.h
  13. 1
    1
      Marlin/src/pins/mega/pins_MEGACONTROLLER.h
  14. 1
    1
      Marlin/src/pins/mega/pins_MINITRONICS.h
  15. 1
    1
      Marlin/src/pins/mega/pins_OVERLORD.h
  16. 1
    1
      Marlin/src/pins/ramps/pins_AZTEEG_X3.h
  17. 1
    1
      Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h
  18. 1
    1
      Marlin/src/pins/ramps/pins_BAM_DICE_DUE.h
  19. 1
    1
      Marlin/src/pins/ramps/pins_BIQU_KFB_2.h
  20. 1
    1
      Marlin/src/pins/ramps/pins_DAGOMA_F5.h
  21. 1
    1
      Marlin/src/pins/ramps/pins_FELIX2.h
  22. 1
    1
      Marlin/src/pins/ramps/pins_FORMBOT_RAPTOR.h
  23. 1
    1
      Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h
  24. 1
    1
      Marlin/src/pins/ramps/pins_FORMBOT_TREX3.h
  25. 1
    1
      Marlin/src/pins/ramps/pins_K8600.h
  26. 1
    1
      Marlin/src/pins/ramps/pins_LONGER3D_LKx_PRO.h
  27. 1
    1
      Marlin/src/pins/ramps/pins_MKS_BASE_10.h
  28. 1
    1
      Marlin/src/pins/ramps/pins_MKS_BASE_14.h
  29. 1
    1
      Marlin/src/pins/ramps/pins_MKS_BASE_15.h
  30. 1
    1
      Marlin/src/pins/ramps/pins_MKS_BASE_16.h
  31. 1
    1
      Marlin/src/pins/ramps/pins_MKS_GEN_13.h
  32. 1
    1
      Marlin/src/pins/ramps/pins_MKS_GEN_L.h
  33. 1
    1
      Marlin/src/pins/ramps/pins_MKS_GEN_L_V2.h
  34. 1
    1
      Marlin/src/pins/ramps/pins_MKS_GEN_L_V21.h
  35. 7
    2
      Marlin/src/pins/ramps/pins_RAMPS.h
  36. 1
    1
      Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h
  37. 1
    1
      Marlin/src/pins/ramps/pins_RAMPS_ENDER_4.h
  38. 2
    2
      Marlin/src/pins/ramps/pins_RL200.h
  39. 1
    1
      Marlin/src/pins/ramps/pins_RUMBA.h
  40. 1
    1
      Marlin/src/pins/ramps/pins_SAINSMART_2IN1.h
  41. 1
    1
      Marlin/src/pins/ramps/pins_TENLOG_D3_HERO.h
  42. 1
    1
      Marlin/src/pins/ramps/pins_TRONXY_V3_1_0.h
  43. 1
    1
      Marlin/src/pins/ramps/pins_TT_OSCAR.h
  44. 1
    1
      Marlin/src/pins/ramps/pins_ZRIB_V52.h
  45. 2
    2
      Marlin/src/pins/ramps/pins_ZRIB_V53.h
  46. 1
    1
      Marlin/src/pins/ramps/pins_Z_BOLT_X_SERIES.h
  47. 6
    2
      Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h
  48. 15
    5
      Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h
  49. 1
    1
      Marlin/src/pins/stm32f1/pins_CCROBOT_MEEB_3DP.h
  50. 1
    1
      Marlin/src/pins/stm32f1/pins_CREALITY_V24S1_301.h
  51. 1
    1
      Marlin/src/pins/stm32f1/pins_CREALITY_V25S1.h
  52. 1
    1
      Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
  53. 1
    1
      Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h
  54. 1
    1
      Marlin/src/pins/stm32f1/pins_CREALITY_V452.h
  55. 1
    1
      Marlin/src/pins/stm32f1/pins_CREALITY_V453.h
  56. 1
    1
      Marlin/src/pins/stm32f1/pins_ERYONE_ERY32_MINI.h
  57. 1
    1
      Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h
  58. 1
    1
      Marlin/src/pins/stm32f1/pins_JGAURORA_A5S_A1.h
  59. 1
    1
      Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h
  60. 1
    1
      Marlin/src/pins/stm32f1/pins_MINGDA_MPX_ARM_MINI.h
  61. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN.h
  62. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3.h
  63. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3D.h
  64. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3D_V1_1.h
  65. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3P.h
  66. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_V1_1.h
  67. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_LITE.h
  68. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_LITE3.h
  69. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h
  70. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h
  71. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_common.h
  72. 1
    1
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h
  73. 3
    1
      Marlin/src/pins/stm32f1/pins_PANDA_PI_V29.h
  74. 1
    1
      Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h
  75. 1
    1
      Marlin/src/pins/stm32f4/pins_ANET_ET4.h
  76. 1
    1
      Marlin/src/pins/stm32f4/pins_ARMED.h
  77. 1
    1
      Marlin/src/pins/stm32f4/pins_ARTILLERY_RUBY.h
  78. 1
    1
      Marlin/src/pins/stm32f4/pins_BLACK_STM32F407VE.h
  79. 1
    1
      Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h
  80. 12
    4
      Marlin/src/pins/stm32f4/pins_BTT_E3_RRF.h
  81. 1
    1
      Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h
  82. 1
    1
      Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_1.h
  83. 1
    1
      Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_2.h
  84. 3
    1
      Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_common.h
  85. 1
    1
      Marlin/src/pins/stm32f4/pins_FLYF407ZG.h
  86. 1
    1
      Marlin/src/pins/stm32f4/pins_FYSETC_S6.h
  87. 1
    1
      Marlin/src/pins/stm32f4/pins_FYSETC_SPIDER.h
  88. 1
    1
      Marlin/src/pins/stm32f4/pins_LERDGE_K.h
  89. 1
    1
      Marlin/src/pins/stm32f4/pins_LERDGE_S.h
  90. 1
    1
      Marlin/src/pins/stm32f4/pins_LERDGE_X.h
  91. 1
    1
      Marlin/src/pins/stm32f4/pins_MKS_EAGLE.h
  92. 1
    1
      Marlin/src/pins/stm32f4/pins_MKS_MONSTER8.h
  93. 1
    1
      Marlin/src/pins/stm32f4/pins_MKS_ROBIN2.h
  94. 1
    1
      Marlin/src/pins/stm32f4/pins_MKS_ROBIN_NANO_V3.h
  95. 1
    1
      Marlin/src/pins/stm32f4/pins_MKS_ROBIN_PRO_V2.h
  96. 1
    1
      Marlin/src/pins/stm32f4/pins_RUMBA32_common.h
  97. 1
    1
      Marlin/src/pins/stm32f4/pins_VAKE403D.h
  98. 1
    1
      Marlin/src/pins/stm32f7/pins_REMRAM_V1.h
  99. 15
    5
      Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h

+ 1
- 1
Marlin/src/lcd/menu/menu_motion.cpp Visa fil

@@ -337,7 +337,7 @@ void menu_move() {
337 337
 
338 338
     #elif MULTI_E_MANUAL
339 339
 
340
-      // Independent extruders with one E-stepper per hotend
340
+      // Independent extruders with one E stepper per hotend
341 341
       LOOP_L_N(n, E_MANUAL) SUBMENU_MOVE_E(n);
342 342
 
343 343
     #endif

+ 1
- 1
Marlin/src/module/stepper.cpp Visa fil

@@ -611,7 +611,7 @@ void Stepper::set_directions() {
611 611
   #if DISABLED(LIN_ADVANCE)
612 612
     #if ENABLED(MIXING_EXTRUDER)
613 613
        // Because this is valid for the whole block we don't know
614
-       // what e-steppers will step. Likely all. Set all.
614
+       // what E steppers will step. Likely all. Set all.
615 615
       if (motor_direction(E_AXIS)) {
616 616
         MIXER_STEPPER_LOOP(j) REV_E_DIR(j);
617 617
         count_direction.e = -1;

+ 1
- 1
Marlin/src/module/stepper.h Visa fil

@@ -214,7 +214,7 @@
214 214
     // Directions are set up for MIXING_STEPPERS - like before.
215 215
     // Finding the right stepper may last up to MIXING_STEPPERS loops in get_next_stepper().
216 216
     //   These loops are a bit faster than advancing a bresenham counter.
217
-    // Always only one e-stepper is stepped.
217
+    // Always only one E stepper is stepped.
218 218
     #define MIN_ISR_LA_LOOP_CYCLES ((MIXING_STEPPERS) * (ISR_STEPPER_CYCLES))
219 219
   #else
220 220
     #define MIN_ISR_LA_LOOP_CYCLES ISR_STEPPER_CYCLES

+ 2
- 2
Marlin/src/pins/esp32/pins_E4D.h Visa fil

@@ -31,9 +31,9 @@
31 31
 #include "env_validate.h"
32 32
 
33 33
 #if EXTRUDERS > 1 || E_STEPPERS > 1
34
-  #error "E4d@box only supports one E Stepper. Comment out this line to continue."
34
+  #error "E4d@box only supports 1 E stepper."
35 35
 #elif HAS_MULTI_HOTEND
36
-  #error "E4d@box only supports one hotend / E-stepper. Comment out this line to continue."
36
+  #error "E4d@box only supports 1 hotend / E stepper."
37 37
 #endif
38 38
 
39 39
 #define BOARD_INFO_NAME       "E4d@box"

+ 2
- 2
Marlin/src/pins/esp32/pins_FYSETC_E4.h Visa fil

@@ -31,9 +31,9 @@
31 31
 #include "env_validate.h"
32 32
 
33 33
 #if EXTRUDERS > 1 || E_STEPPERS > 1
34
-  #error "FYSETC E4 only supports one E Stepper. Comment out this line to continue."
34
+  #error "FYSETC E4 only supports 1 E stepper."
35 35
 #elif HAS_MULTI_HOTEND
36
-  #error "FYSETC E4 only supports one hotend / E-stepper. Comment out this line to continue."
36
+  #error "FYSETC E4 only supports 1 hotend / E stepper."
37 37
 #endif
38 38
 
39 39
 #define BOARD_INFO_NAME       "FYSETC_E4"

+ 2
- 2
Marlin/src/pins/esp32/pins_MKS_TINYBEE.h Visa fil

@@ -31,9 +31,9 @@
31 31
 #include "env_validate.h"
32 32
 
33 33
 #if EXTRUDERS > 2 || E_STEPPERS > 2
34
-  #error "MKS ESP Nano only supports two E Steppers. Comment out this line to continue."
34
+  #error "MKS TinyBee supports up to 2 E steppers."
35 35
 #elif HOTENDS > 2
36
-  #error "MKS ESP Nano only supports two hotend / E-stepper. Comment out this line to continue."
36
+  #error "MKS TinyBee supports up to 2 hotends / E steppers."
37 37
 #endif
38 38
 
39 39
 #define BOARD_INFO_NAME      "MKS TinyBee"

+ 2
- 2
Marlin/src/pins/esp32/pins_MRR_ESPA.h Visa fil

@@ -31,9 +31,9 @@
31 31
 #include "env_validate.h"
32 32
 
33 33
 #if EXTRUDERS > 1 || E_STEPPERS > 1
34
-  #error "MRR ESPA only supports one E Stepper. Comment out this line to continue."
34
+  #error "MRR ESPA only supports 1 E stepper."
35 35
 #elif HAS_MULTI_HOTEND
36
-  #error "MRR ESPA only supports one hotend / E-stepper. Comment out this line to continue."
36
+  #error "MRR ESPA only supports 1 hotend / E stepper."
37 37
 #endif
38 38
 
39 39
 #define BOARD_INFO_NAME       "MRR ESPA"

+ 2
- 2
Marlin/src/pins/esp32/pins_MRR_ESPE.h Visa fil

@@ -32,9 +32,9 @@
32 32
 #include "env_validate.h"
33 33
 
34 34
 #if EXTRUDERS > 2 || E_STEPPERS > 2
35
-  #error "MRR ESPE only supports two E Steppers. Comment out this line to continue."
35
+  #error "MRR ESPE supports up to 2 E steppers."
36 36
 #elif HAS_MULTI_HOTEND
37
-  #error "MRR ESPE only supports one hotend / E-stepper. Comment out this line to continue."
37
+  #error "MRR ESPE only supports 1 hotend / E stepper."
38 38
 #endif
39 39
 
40 40
 #define BOARD_INFO_NAME      "MRR ESPE"

+ 6
- 2
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h Visa fil

@@ -223,7 +223,9 @@
223 223
 
224 224
   #elif ENABLED(ANET_FULL_GRAPHICS_LCD)
225 225
 
226
-    #error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. Comment out this line to continue."
226
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
227
+      #error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
228
+    #endif
227 229
 
228 230
    /**
229 231
     * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
@@ -257,7 +259,9 @@
257 259
 
258 260
   #elif ENABLED(WYH_L12864)
259 261
 
260
-    #error "CAUTION! WYH_L12864 requires wiring modifications. Comment out this line to continue."
262
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
263
+      #error "CAUTION! WYH_L12864 requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
264
+    #endif
261 265
 
262 266
     /**
263 267
      * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.

+ 6
- 2
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h Visa fil

@@ -286,7 +286,9 @@
286 286
 #elif HAS_WIRED_LCD
287 287
 
288 288
   #if ENABLED(ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
289
-    #error "CAUTION! ANET_FULL_GRAPHICS_LCD_ALT_WIRING requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. Comment out this line to continue."
289
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
290
+      #error "CAUTION! ANET_FULL_GRAPHICS_LCD_ALT_WIRING requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
291
+    #endif
290 292
 
291 293
     /**
292 294
      * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
@@ -318,7 +320,9 @@
318 320
     #define BEEPER_PIN               EXP1_03_PIN
319 321
 
320 322
   #elif ENABLED(ANET_FULL_GRAPHICS_LCD)
321
-    #error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. Comment out this line to continue."
323
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
324
+      #error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
325
+    #endif
322 326
 
323 327
    /**
324 328
     * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.

+ 3
- 1
Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h Visa fil

@@ -307,7 +307,9 @@
307 307
 
308 308
 #elif ENABLED(ZONESTAR_LCD)
309 309
 
310
-  #error "CAUTION! ZONESTAR_LCD on REARM requires wiring modifications. NB. ADCs are not 5V tolerant. Comment out this line to continue."
310
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
311
+    #error "CAUTION! ZONESTAR_LCD on REARM requires wiring modifications. NB. ADCs are not 5V tolerant. See 'pins_RAMPS_RE_ARM.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
312
+  #endif
311 313
 
312 314
 #elif IS_TFTGLCD_PANEL
313 315
 

+ 6
- 2
Marlin/src/pins/lpc1769/pins_BTT_SKR_E3_TURBO.h Visa fil

@@ -204,7 +204,9 @@
204 204
 #define EXP1_10_PIN                        P2_08
205 205
 
206 206
 #if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
207
-  #error "Ender-3 V2 display requires a custom cable with TX = P0_15, RX = P0_16. Comment out this line to continue."
207
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
208
+    #error "CAUTION! Ender-3 V2 display requires a custom cable with TX = P0_15, RX = P0_16. See 'pins_BTT_SKR_E3_TURBO.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
209
+  #endif
208 210
 
209 211
  /**
210 212
   *          Ender 3 V2 display                       SKR E3 Turbo (EXP1)                Ender 3 V2 display --> SKR E3 Turbo
@@ -238,7 +240,9 @@
238 240
 
239 241
   #elif ENABLED(ZONESTAR_LCD)                     // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
240 242
 
241
-    #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_E3_TURBO.h' for details. Comment out this line to continue."
243
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
244
+      #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_E3_TURBO.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
245
+    #endif
242 246
 
243 247
     #define LCD_PINS_RS              EXP1_05_PIN
244 248
     #define LCD_PINS_ENABLE          EXP1_09_PIN

+ 1
- 1
Marlin/src/pins/mega/pins_MEGACONTROLLER.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "Mega Controller supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #include "env_validate.h"

+ 1
- 1
Marlin/src/pins/mega/pins_MINITRONICS.h Visa fil

@@ -34,7 +34,7 @@
34 34
 #if NOT_TARGET(__AVR_ATmega1281__)
35 35
   #error "Oops! Select 'Minitronics' in 'Tools > Board.'"
36 36
 #elif HOTENDS > 2 || E_STEPPERS > 2
37
-  #error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
37
+  #error "Minitronics supports up to 2 hotends / E steppers."
38 38
 #endif
39 39
 
40 40
 #define BOARD_INFO_NAME "Minitronics v1.0/1.1"

+ 1
- 1
Marlin/src/pins/mega/pins_OVERLORD.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "Overlord Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "Overlord supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #include "env_validate.h"

+ 1
- 1
Marlin/src/pins/ramps/pins_AZTEEG_X3.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 2 || E_STEPPERS > 2
32
-  #error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
32
+  #error "Azteeg X3 supports up to 2 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)

+ 1
- 1
Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 5 || E_STEPPERS > 5
32
-  #error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
32
+  #error "Azteeg X3 Pro supports up to 5 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #define BOARD_INFO_NAME "Azteeg X3 Pro"

+ 1
- 1
Marlin/src/pins/ramps/pins_BAM_DICE_DUE.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "2PrintBeta Due supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "2PrintBeta Due supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "2PrintBeta Due"

+ 1
- 1
Marlin/src/pins/ramps/pins_BIQU_KFB_2.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "KFB 2.0 supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "KFB 2.0 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "KFB 2.0"

+ 1
- 1
Marlin/src/pins/ramps/pins_DAGOMA_F5.h Visa fil

@@ -22,7 +22,7 @@
22 22
 #pragma once
23 23
 
24 24
 #if HOTENDS > 2 || E_STEPPERS > 2
25
-  #error "Dagoma3D F5 supports only 2 hotends / E-steppers. Comment out this line to continue."
25
+  #error "Dagoma3D F5 supports up to 2 hotends / E steppers."
26 26
 #endif
27 27
 
28 28
 #define BOARD_INFO_NAME "Dagoma3D F5"

+ 1
- 1
Marlin/src/pins/ramps/pins_FELIX2.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "Felix 2.0+ supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "Felix 2.0+ supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "Felix 2.0+"

+ 1
- 1
Marlin/src/pins/ramps/pins_FORMBOT_RAPTOR.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 3 || E_STEPPERS > 3
32
-  #error "Formbot supports up to 3 hotends / E-steppers. Comment out this line to continue."
32
+  #error "Formbot supports up to 3 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 2 || E_STEPPERS > 2
32
-  #error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
32
+  #error "Formbot supports up to 2 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #define BOARD_INFO_NAME      "Formbot"

+ 1
- 1
Marlin/src/pins/ramps/pins_FORMBOT_TREX3.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 2 || E_STEPPERS > 2
32
-  #error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
32
+  #error "Formbot supports up to 2 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #define BOARD_INFO_NAME      "Formbot"

+ 1
- 1
Marlin/src/pins/ramps/pins_K8600.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HAS_MULTI_HOTEND
29
-  #error "Only 1 hotend is supported for Vertex Nano."
29
+  #error "K8600 only supports 1 hotend / E stepper."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME      "K8600"

+ 1
- 1
Marlin/src/pins/ramps/pins_LONGER3D_LKx_PRO.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
32
-  #error "Longer3D LGT KIT V1.0 board only supports one hotend / E-stepper. Comment out this line to continue."
32
+  #error "Longer3D LGT KIT V1.0 only supports 1 hotend / E stepper."
33 33
 #endif
34 34
 
35 35
 #if SERIAL_PORT == 1 || SERIAL_PORT_2 == 1 || SERIAL_PORT_3 == 1

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_BASE_10.h Visa fil

@@ -28,7 +28,7 @@
28 28
  */
29 29
 
30 30
 #if HOTENDS > 2 || E_STEPPERS > 2
31
-  #error "MKS BASE 1.0 supports up to 2 hotends / E-steppers. Comment out this line to continue."
31
+  #error "MKS BASE 1.0 supports up to 2 hotends / E steppers."
32 32
 #endif
33 33
 
34 34
 #define BOARD_INFO_NAME "MKS BASE 1.0"

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_BASE_14.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "MKS BASE 1.4 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "MKS BASE 1.4 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "MKS BASE 1.4"

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_BASE_15.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "MKS BASE 1.5 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "MKS BASE 1.5 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "MKS BASE 1.5"

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_BASE_16.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "MKS BASE 1.6 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "MKS BASE 1.6 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "MKS BASE 1.6"

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_GEN_13.h Visa fil

@@ -31,7 +31,7 @@
31 31
  */
32 32
 
33 33
 #if HOTENDS > 2 || E_STEPPERS > 2
34
-  #error "MKS GEN 1.3/1.4 supports up to 2 hotends / E-steppers. Comment out this line to continue."
34
+  #error "MKS GEN 1.3/1.4 supports up to 2 hotends / E steppers."
35 35
 #endif
36 36
 
37 37
 #define BOARD_INFO_NAME "MKS GEN >= v1.3"

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_GEN_L.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "MKS GEN L supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "MKS GEN L supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "MKS GEN L"

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_GEN_L_V2.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "MKS GEN L V2 supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "MKS GEN L V2 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "MKS GEN L V2"

+ 1
- 1
Marlin/src/pins/ramps/pins_MKS_GEN_L_V21.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "MKS GEN L V2.1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "MKS GEN L V2.1 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "MKS GEN L V2.1"

+ 7
- 2
Marlin/src/pins/ramps/pins_RAMPS.h Visa fil

@@ -592,7 +592,10 @@
592 592
 
593 593
     #elif ENABLED(ZONESTAR_LCD)
594 594
 
595
-      #error "CAUTION! ZONESTAR_LCD on RAMPS requires wiring modifications. It plugs into AUX2 but GND and 5V need to be swapped. Comment out this line to continue."
595
+      #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
596
+        #error "CAUTION! ZONESTAR_LCD on RAMPS requires wiring modifications. It plugs into AUX2 but GND and 5V need to be swapped. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
597
+      #endif
598
+
596 599
       #define LCD_PINS_RS            AUX2_05_PIN
597 600
       #define LCD_PINS_ENABLE        AUX2_07_PIN
598 601
       #define LCD_PINS_D4            AUX2_04_PIN
@@ -859,7 +862,9 @@
859 862
 
860 863
 #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
861 864
 
862
-  #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. Comment out this line to continue."
865
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
866
+    #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
867
+  #endif
863 868
 
864 869
   /**
865 870
    * FYSETC TFT-81050 display pinout

+ 1
- 1
Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h Visa fil

@@ -22,7 +22,7 @@
22 22
 #pragma once
23 23
 
24 24
 #if HOTENDS > 2 || E_STEPPERS > 2
25
-  #error "Creality3D RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
25
+  #error "Creality RAMPS supports up to 2 hotends / E steppers."
26 26
 #endif
27 27
 
28 28
 #define BOARD_INFO_NAME "Creality3D RAMPS"

+ 1
- 1
Marlin/src/pins/ramps/pins_RAMPS_ENDER_4.h Visa fil

@@ -22,7 +22,7 @@
22 22
 #pragma once
23 23
 
24 24
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
25
-  #error "Ender-4 only supports one hotend / E-stepper. Comment out this line to continue."
25
+  #error "Ender-4 only supports 1 hotend / E stepper."
26 26
 #endif
27 27
 
28 28
 #define BOARD_INFO_NAME "Ender-4"

+ 2
- 2
Marlin/src/pins/ramps/pins_RL200.h Visa fil

@@ -30,9 +30,9 @@
30 30
 #define DEFAULT_MACHINE_NAME "Rapide Lite 200"
31 31
 
32 32
 #if HOTENDS > 2 || E_STEPPERS > 2
33
-  #error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
33
+  #error "RL200v1 supports up to 2 hotends / E steppers."
34 34
 #elif NUM_Z_STEPPERS != 2
35
-  #error "RL200 uses dual Z stepper motors. Set NUM_Z_STEPPERS to 2 or comment out this line to continue."
35
+  #error "RL200 uses dual Z stepper motors. Z_DRIVER_TYPE and Z2_DRIVER_TYPE must be defined."
36 36
 #elif !(AXIS_DRIVER_TYPE_X(DRV8825) && AXIS_DRIVER_TYPE_Y(DRV8825) && AXIS_DRIVER_TYPE_Z(DRV8825) && AXIS_DRIVER_TYPE_Z2(DRV8825) && AXIS_DRIVER_TYPE_E0(DRV8825))
37 37
   #error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
38 38
 #endif

+ 1
- 1
Marlin/src/pins/ramps/pins_RUMBA.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 3 || E_STEPPERS > 3
32
-  #error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue."
32
+  #error "RUMBA supports up to 3 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/ramps/pins_SAINSMART_2IN1.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "Sainsmart 2-in-1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "Sainsmart 2-in-1 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "Sainsmart"

+ 1
- 1
Marlin/src/pins/ramps/pins_TENLOG_D3_HERO.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 2 || E_STEPPERS > 2
32
-  #error "Tenlog supports up to 2 hotends / E-steppers. Comment out this line to continue."
32
+  #error "Tenlog supports up to 2 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #define BOARD_INFO_NAME      "Tenlog D3 Hero"

+ 1
- 1
Marlin/src/pins/ramps/pins_TRONXY_V3_1_0.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 2 || E_STEPPERS > 2
32
-  #error "TRONXY-V3-1.0 supports only 2 hotends/E-steppers. Comment out this line to continue."
32
+  #error "TRONXY-V3-1.0 supports up to 2 hotends/E steppers."
33 33
 #endif
34 34
 
35 35
 #define BOARD_INFO_NAME "TRONXY-V3-1.0"

+ 1
- 1
Marlin/src/pins/ramps/pins_TT_OSCAR.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HOTENDS > 5 || E_STEPPERS > 5
27
-  #error "TTOSCAR supports up to 5 hotends / E-steppers. Comment out this line to continue."
27
+  #error "TTOSCAR supports up to 5 hotends / E steppers."
28 28
 #endif
29 29
 
30 30
 #define BOARD_INFO_NAME      "TT OSCAR"

+ 1
- 1
Marlin/src/pins/ramps/pins_ZRIB_V52.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "ZRIB V5.2 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "ZRIB V5.2 supports up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "ZRIB V5.2"

+ 2
- 2
Marlin/src/pins/ramps/pins_ZRIB_V53.h Visa fil

@@ -28,9 +28,9 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HOTENDS > 2
31
-  #error "ZRIB V5.3 only supports up to 2 hotends. Comment out this line to continue."
31
+  #error "ZRIB V5.3 supports up to 2 hotends."
32 32
 #elif E_STEPPERS > 3
33
-  #error "ZRIB V5.3 only supports up to 3 E-steppers. Comment out this line to continue."
33
+  #error "ZRIB V5.3 supports up to 3 E steppers."
34 34
 #endif
35 35
 
36 36
 #define BOARD_INFO_NAME "ZRIB V5.3"

+ 1
- 1
Marlin/src/pins/ramps/pins_Z_BOLT_X_SERIES.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HOTENDS > 4 || E_STEPPERS > 4
32
-  #error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
32
+  #error "Z-Bolt X Series supports up to 4 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #define BOARD_INFO_NAME "Z-Bolt X Series"

+ 6
- 2
Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h Visa fil

@@ -182,7 +182,9 @@
182 182
 
183 183
   #elif ENABLED(ZONESTAR_LCD)                     // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
184 184
 
185
-    #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
185
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
186
+      #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_DIP.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
187
+    #endif
186 188
 
187 189
     #define LCD_PINS_RS                     PB9
188 190
     #define LCD_PINS_ENABLE                 PB6
@@ -224,7 +226,9 @@
224 226
 
225 227
 #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
226 228
 
227
-  #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_E3_DIP.h' for details. Comment out this line to continue."
229
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
230
+    #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_E3_DIP.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
231
+  #endif
228 232
 
229 233
   /** FYSETC TFT TFT81050 display pinout
230 234
    *

+ 15
- 5
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h Visa fil

@@ -150,7 +150,9 @@
150 150
    * All pins are labeled as printed on DWIN PCB. Connect TX-TX, A-A and so on.
151 151
    */
152 152
 
153
-  #error "Ender-3 V2 display requires a custom cable, see diagram above this line. Comment out this line to continue."
153
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
154
+    #error "CAUTION! Ender-3 V2 display requires a custom cable. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
155
+  #endif
154 156
 
155 157
   #define BEEPER_PIN                      EXP1_9
156 158
   #define BTN_EN1                         EXP1_3
@@ -173,7 +175,9 @@
173 175
 
174 176
   #elif ENABLED(ZONESTAR_LCD)                     // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
175 177
 
176
-    #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
178
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
179
+      #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
180
+    #endif
177 181
 
178 182
     #define LCD_PINS_RS                     PB9
179 183
     #define LCD_PINS_ENABLE               EXP1_9
@@ -201,7 +205,9 @@
201 205
 
202 206
     #if ENABLED(TFTGLCD_PANEL_SPI)
203 207
 
204
-      #error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
208
+      #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
209
+        #error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
210
+      #endif
205 211
 
206 212
       /**
207 213
        * TFTGLCD_PANEL_SPI display pinout
@@ -238,7 +244,9 @@
238 244
 
239 245
   #elif ENABLED(FYSETC_MINI_12864_2_1)
240 246
 
241
-    #error "CAUTION! FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
247
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
248
+      #error "CAUTION! FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
249
+    #endif
242 250
 
243 251
     /**
244 252
      * FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 display pinout
@@ -308,7 +316,9 @@
308 316
 
309 317
 #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
310 318
 
311
-  #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
319
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
320
+    #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
321
+  #endif
312 322
 
313 323
   /**
314 324
    * FYSETC TFT TFT81050 display pinout

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CCROBOT_MEEB_3DP.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
27
-  #error "CCROBOT-ONLINE MEEB_3DP only supports one hotend / E-stepper. Comment out this line to continue."
27
+  #error "CCROBOT-ONLINE MEEB_3DP only supports 1 hotend / E stepper."
28 28
 #endif
29 29
 
30 30
 // https://github.com/ccrobot-online/MEEB_3DP

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CREALITY_V24S1_301.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #include "env_validate.h"
30 30
 
31 31
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
32
-  #error "Creality V24S1 only supports one hotend / E-stepper. Comment out this line to continue."
32
+  #error "Creality v24S1 only supports 1 hotend / E stepper."
33 33
 #endif
34 34
 
35 35
 #if BOTH(BLTOUCH, Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CREALITY_V25S1.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
31
-  #error "Creality V2.5.S1 only supports one hotend / E-stepper. Comment out this line to continue."
31
+  #error "Creality V2.5.S1 only supports 1 hotend / E stepper."
32 32
 #endif
33 33
 
34 34
 #define BOARD_INFO_NAME      "Creality v2.5.S1"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
31
-  #error "Creality V4 only supports one hotend / E-stepper. Comment out this line to continue."
31
+  #error "Creality v4 only supports 1 hotend / E stepper."
32 32
 #endif
33 33
 
34 34
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
31
-  #error "CREALITY supports up to 1 hotends / E-steppers. Comment out this line to continue."
31
+  #error "Creality v4.2.10 only supports 1 hotend / E stepper."
32 32
 #endif
33 33
 
34 34
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CREALITY_V452.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
29
-  #error "Creality v4.5.2 only supports one hotend / E-stepper. Comment out this line to continue."
29
+  #error "Creality v4.5.2 only supports 1 hotend / E stepper."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "Creality v4.5.2"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_CREALITY_V453.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
29
-  #error "Creality v4.5.3 only supports one hotend / E-stepper. Comment out this line to continue."
29
+  #error "Creality v4.5.3 only supports 1 hotend / E stepper."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "Creality v4.5.3"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_ERYONE_ERY32_MINI.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HOTENDS > 2 || E_STEPPERS > 2
31
-  #error "Eryone Ery32 mini supports up to 2 hotends / E-steppers. Comment out this line to continue."
31
+  #error "Eryone Ery32 mini supports up to 2 hotends / E steppers."
32 32
 #endif
33 33
 
34 34
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h Visa fil

@@ -32,7 +32,7 @@
32 32
 #if NOT_TARGET(__STM32F1__, STM32F1xx)
33 33
   #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
34 34
 #elif HAS_MULTI_HOTEND || E_STEPPERS > 1
35
-  #error "FLSUN HiSpeedV1 only supports one hotend / E-stepper. Comment out this line to continue."
35
+  #error "FLSUN HiSpeedV1 only supports 1 hotend / E stepper."
36 36
 #endif
37 37
 
38 38
 #define BOARD_INFO_NAME      "FLSun HiSpeedV1"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_JGAURORA_A5S_A1.h Visa fil

@@ -33,7 +33,7 @@
33 33
 #include "env_validate.h"
34 34
 
35 35
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
36
-  #error "JGAurora A5S A1 only supports one hotend / E-stepper. Comment out this line to continue."
36
+  #error "JGAurora A5S A1 only supports 1 hotend / E stepper."
37 37
 #endif
38 38
 
39 39
 #define BOARD_INFO_NAME "JGAurora A5S A1"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #if NOT_TARGET(__STM32F1__, STM32F1xx)
29 29
   #error "Oops! Select a STM32F1 board in 'Tools > Board.'"
30 30
 #elif HAS_MULTI_HOTEND || E_STEPPERS > 1
31
-  #error "Longer3D only supports one hotend / E-stepper. Comment out this line to continue."
31
+  #error "Longer3D only supports 1 hotend / E stepper."
32 32
 #endif
33 33
 
34 34
 #define BOARD_INFO_NAME "Longer3D"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MINGDA_MPX_ARM_MINI.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #if NOT_TARGET(STM32F1, STM32F1xx)
29 29
   #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
30 30
 #elif HOTENDS > 1 || E_STEPPERS > 1
31
-  #error "MPX ARM Mini only supports one hotend / E-stepper. Comment out this line to continue."
31
+  #error "MPX ARM Mini only supports 1 hotend / E stepper."
32 32
 #endif
33 33
 
34 34
 #define BOARD_INFO_NAME "Mingda MPX ARM Mini"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN.h Visa fil

@@ -29,7 +29,7 @@
29 29
 #if NOT_TARGET(STM32F1, STM32F1xx)
30 30
   #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
31 31
 #elif HOTENDS > 2 || E_STEPPERS > 2
32
-  #error "MKS Robin supports up to 2 hotends / E-steppers. Comment out this line to continue."
32
+  #error "MKS Robin supports up to 2 hotends / E steppers."
33 33
 #endif
34 34
 
35 35
 #define BOARD_INFO_NAME "MKS Robin"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
29
-  #error "MKS Robin E3 only supports one hotend / E-stepper. Comment out this line to continue."
29
+  #error "MKS Robin E3 only supports 1 hotend / E stepper."
30 30
 #endif
31 31
 
32 32
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3D.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
29
-  #error "MKS Robin E3D only supports one hotend / E-stepper. Comment out this line to continue."
29
+  #error "MKS Robin E3D only supports 1 hotend / E stepper."
30 30
 #endif
31 31
 
32 32
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3D_V1_1.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
29
-  #error "MKS Robin E3D v1.1 only supports one hotend / E-stepper. Comment out this line to continue."
29
+  #error "MKS Robin E3D v1.1 only supports 1 hotend / E stepper."
30 30
 #endif
31 31
 
32 32
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3P.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
31
-  #error "MKS Robin E3P only supports one hotend / E-stepper. Comment out this line to continue."
31
+  #error "MKS Robin E3P only supports 1 hotend / E stepper."
32 32
 #elif HAS_FSMC_TFT
33 33
   #error "MKS Robin E3P doesn't support FSMC-based TFT displays."
34 34
 #endif

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3_V1_1.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
29
-  #error "MKS Robin E3 v1.1 only supports one hotend / E-stepper. Comment out this line to continue."
29
+  #error "MKS Robin E3 v1.1 only supports 1 hotend / E stepper."
30 30
 #endif
31 31
 
32 32
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_LITE.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
27
-  #error "MKS Robin Lite only supports one hotend / E-stepper. Comment out this line to continue."
27
+  #error "MKS Robin Lite only supports 1 hotend / E stepper."
28 28
 #endif
29 29
 
30 30
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_LITE3.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HOTENDS > 2 || E_STEPPERS > 2
31
-  #error "MKS Robin Lite3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
31
+  #error "MKS Robin Lite3 supports up to 2 hotends / E steppers."
32 32
 #endif
33 33
 
34 34
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
31
-  #error "MKS Robin mini only supports one hotend / E-stepper. Comment out this line to continue."
31
+  #error "MKS Robin mini only supports 1 hotend / E stepper."
32 32
 #endif
33 33
 
34 34
 #define BOARD_INFO_NAME "MKS Robin Mini"

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #if NOT_TARGET(__STM32F1__, STM32F1)
29 29
   #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
30 30
 #elif HOTENDS > 2 || E_STEPPERS > 2
31
-  #error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
31
+  #error "MKS Robin nano supports up to 2 hotends / E steppers."
32 32
 #elif HAS_FSMC_TFT
33 33
   #error "MKS Robin nano v2 doesn't support FSMC-based TFT displays."
34 34
 #endif

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_common.h Visa fil

@@ -26,7 +26,7 @@
26 26
  */
27 27
 
28 28
 #if HOTENDS > 2 || E_STEPPERS > 2
29
-  #error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
29
+  #error "MKS Robin nano boards support up to 2 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_NO_NATIVE_USB

+ 1
- 1
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HOTENDS > 3 || E_STEPPERS > 3
31
-  #error "MKS Robin pro supports up to 3 hotends / E-steppers. Comment out this line to continue."
31
+  #error "MKS Robin pro supports up to 3 hotends / E steppers."
32 32
 #endif
33 33
 
34 34
 #define BOARD_INFO_NAME "MKS Robin pro"

+ 3
- 1
Marlin/src/pins/stm32f1/pins_PANDA_PI_V29.h Visa fil

@@ -173,7 +173,9 @@
173 173
 
174 174
 #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
175 175
 
176
-  #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_E3_DIP.h' for details. Comment out this line to continue."
176
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
177
+    #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_PANDA_PI_V29.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
178
+  #endif
177 179
 
178 180
   /** FYSETC TFT TFT81050 display pinout
179 181
    *

+ 1
- 1
Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h Visa fil

@@ -31,7 +31,7 @@
31 31
 #include "env_validate.h"
32 32
 
33 33
 #if HOTENDS > 2 || E_STEPPERS > 2
34
-  #error "Trigorilla Pro supports up to 2 hotends / E-steppers. Comment out this line to continue."
34
+  #error "Trigorilla Pro supports up to 2 hotends / E steppers."
35 35
 #endif
36 36
 
37 37
 #define BOARD_INFO_NAME "Trigorilla Pro"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_ANET_ET4.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
27
-  #error "Anet ET4 only supports one hotend / E-stepper. Comment out this line to continue."
27
+  #error "Anet ET4 only supports 1 hotend / E stepper."
28 28
 #endif
29 29
 
30 30
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f4/pins_ARMED.h Visa fil

@@ -27,7 +27,7 @@
27 27
 #include "env_validate.h"
28 28
 
29 29
 #if HOTENDS > 2 || E_STEPPERS > 2
30
-  #error "Arm'ed supports up to 2 hotends / E-steppers."
30
+  #error "Arm'ed supports up to 2 hotends / E steppers."
31 31
 #endif
32 32
 
33 33
 #ifndef ARMED_V1_0

+ 1
- 1
Marlin/src/pins/stm32f4/pins_ARTILLERY_RUBY.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HOTENDS > 1 || E_STEPPERS > 1
27
-  #error "Artillery Ruby supports up to 1 hotends / E-steppers."
27
+  #error "Artillery Ruby only supports 1 hotend / E stepper."
28 28
 #endif
29 29
 
30 30
 #define BOARD_INFO_NAME      "Artillery Ruby"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_BLACK_STM32F407VE.h Visa fil

@@ -31,7 +31,7 @@
31 31
 #include "env_validate.h"
32 32
 
33 33
 #if HOTENDS > 2 || E_STEPPERS > 2
34
-  #error "Black STM32F4VET6 supports up to 2 hotends / E-steppers."
34
+  #error "Black STM32F4VET6 supports up to 2 hotends / E steppers."
35 35
 #endif
36 36
 
37 37
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f4/pins_BTT_BTT002_V1_0.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
27
-  #error "BIGTREE BTT002 V1.0 only supports one hotend / E-stepper. Comment out this line to continue."
27
+  #error "BIGTREE BTT002 V1.0 only supports 1 hotend / E stepper."
28 28
 #endif
29 29
 
30 30
 #define BOARD_INFO_NAME "BTT BTT002 V1.0"

+ 12
- 4
Marlin/src/pins/stm32f4/pins_BTT_E3_RRF.h Visa fil

@@ -211,7 +211,9 @@
211 211
 
212 212
     #if ENABLED(LCD_FOR_MELZI)
213 213
 
214
-      #error "CAUTION! LCD_FOR_MELZI requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue."
214
+      #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
215
+        #error "CAUTION! LCD_FOR_MELZI requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
216
+      #endif
215 217
 
216 218
      /** LCD_FOR_MELZI display pinout
217 219
       *
@@ -245,7 +247,9 @@
245 247
 
246 248
   #elif ENABLED(ZONESTAR_LCD)                     // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
247 249
 
248
-    #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue."
250
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
251
+      #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
252
+    #endif
249 253
 
250 254
     #define LCD_PINS_RS                     PE10
251 255
     #define LCD_PINS_ENABLE                 PE9
@@ -273,7 +277,9 @@
273 277
 
274 278
     #if ENABLED(TFTGLCD_PANEL_SPI)
275 279
 
276
-      #error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue."
280
+      #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
281
+        #error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
282
+      #endif
277 283
 
278 284
       /**
279 285
        * TFTGLCD_PANEL_SPI display pinout
@@ -327,7 +333,9 @@
327 333
 
328 334
 #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
329 335
 
330
-  #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue."
336
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
337
+    #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
338
+  #endif
331 339
 
332 340
   /** FYSETC TFT TFT81050 display pinout
333 341
    *

+ 1
- 1
Marlin/src/pins/stm32f4/pins_BTT_GTR_V1_0.h Visa fil

@@ -26,7 +26,7 @@
26 26
 #if E_STEPPERS > MAX_E_STEPPERS
27 27
   #error "Marlin extruder/hotends limit! Increase MAX_E_STEPPERS to continue."
28 28
 #elif HOTENDS > 8 || E_STEPPERS > 8
29
-  #error "BIGTREE GTR V1.0 supports up to 8 hotends / E-steppers."
29
+  #error "BIGTREE GTR V1.0 supports up to 8 hotends / E steppers."
30 30
 #endif
31 31
 
32 32
 #define BOARD_INFO_NAME "BTT GTR V1.0"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_1.h Visa fil

@@ -22,7 +22,7 @@
22 22
 #pragma once
23 23
 
24 24
 #if HOTENDS > 3 || E_STEPPERS > 3
25
-  #error "BIGTREE SKR Pro V1.1 supports up to 3 hotends / E-steppers."
25
+  #error "BIGTREE SKR Pro V1.1 supports up to 3 hotends / E steppers."
26 26
 #endif
27 27
 
28 28
 #define BOARD_INFO_NAME "BTT SKR Pro V1.1"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_V1_2.h Visa fil

@@ -22,7 +22,7 @@
22 22
 #pragma once
23 23
 
24 24
 #if HOTENDS > 3 || E_STEPPERS > 3
25
-  #error "BIGTREE SKR Pro V1.2 supports up to 3 hotends / E-steppers."
25
+  #error "BIGTREE SKR Pro V1.2 supports up to 3 hotends / E steppers."
26 26
 #endif
27 27
 
28 28
 #define BOARD_INFO_NAME "BTT SKR Pro V1.2"

+ 3
- 1
Marlin/src/pins/stm32f4/pins_BTT_SKR_PRO_common.h Visa fil

@@ -456,7 +456,9 @@
456 456
 
457 457
   #elif ENABLED(WYH_L12864)
458 458
 
459
-    #error "CAUTION! WYH_L12864 requires wiring modifications. Comment out this line to continue."
459
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
460
+      #error "CAUTION! WYH_L12864 requires wiring modifications. See 'pins_BTT_SKR_PRO_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
461
+    #endif
460 462
 
461 463
     /**
462 464
      * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.

+ 1
- 1
Marlin/src/pins/stm32f4/pins_FLYF407ZG.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 6 || E_STEPPERS > 6
28
-  #error "FLYF407ZG supports up to 6 hotends / E-steppers."
28
+  #error "FLYF407ZG supports up to 6 hotends / E steppers."
29 29
 #endif
30 30
 
31 31
 #define BOARD_INFO_NAME      "FLYF407ZG"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_FYSETC_S6.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HOTENDS > 3 || E_STEPPERS > 3
27
-  #error "FYSETC S6 supports up to 3 hotends / E-steppers."
27
+  #error "FYSETC S6 supports up to 3 hotends / E steppers."
28 28
 #endif
29 29
 
30 30
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f4/pins_FYSETC_SPIDER.h Visa fil

@@ -117,7 +117,7 @@
117 117
 #endif
118 118
 
119 119
 #if HOTENDS > 3 || E_STEPPERS > 3
120
-  #error "FYSETC SPIDER supports up to 3 hotends / E-steppers."
120
+  #error "FYSETC SPIDER supports up to 3 hotends / E steppers."
121 121
 #else
122 122
   #include "pins_FYSETC_S6.h"
123 123
 #endif

+ 1
- 1
Marlin/src/pins/stm32f4/pins_LERDGE_K.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 2 || E_STEPPERS > 2
28
-  #error "LERDGE K supports up to 2 hotends / E-steppers."
28
+  #error "LERDGE K supports up to 2 hotends / E steppers."
29 29
 #endif
30 30
 
31 31
 #define BOARD_INFO_NAME      "Lerdge K"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_LERDGE_S.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 2 || E_STEPPERS > 2
28
-  #error "LERDGE S supports up to 2 hotends / E-steppers."
28
+  #error "LERDGE S supports up to 2 hotends / E steppers."
29 29
 #endif
30 30
 
31 31
 #define BOARD_INFO_NAME      "Lerdge S"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_LERDGE_X.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
28
-  #error "LERDGE X only supports one hotend / E-stepper. Comment out this line to continue."
28
+  #error "LERDGE X only supports 1 hotend / E stepper."
29 29
 #endif
30 30
 
31 31
 #define BOARD_INFO_NAME      "Lerdge X"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_MKS_EAGLE.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 2 || E_STEPPERS > 2
28
-  #error "MKS Eagle supports up to 2 hotends / E-steppers."
28
+  #error "MKS Eagle supports up to 2 hotends / E steppers."
29 29
 #elif HAS_FSMC_TFT
30 30
   #error "MKS Eagle doesn't support FSMC-based TFT displays."
31 31
 #endif

+ 1
- 1
Marlin/src/pins/stm32f4/pins_MKS_MONSTER8.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 3 || E_STEPPERS > 5
28
-  #error "MKS Monster supports up to 3 hotends and 5 E-steppers."
28
+  #error "MKS Monster supports up to 3 hotends and 5 E steppers."
29 29
 #elif HAS_FSMC_TFT
30 30
   #error "MKS Monster doesn't support FSMC-based TFT displays."
31 31
 #endif

+ 1
- 1
Marlin/src/pins/stm32f4/pins_MKS_ROBIN2.h Visa fil

@@ -24,7 +24,7 @@
24 24
 #include "env_validate.h"
25 25
 
26 26
 #if HOTENDS > 2 || E_STEPPERS > 2
27
-  #error "MKS_ROBIN2 supports up to 2 hotends / E-steppers."
27
+  #error "MKS_ROBIN2 supports up to 2 hotends / E steppers."
28 28
 #endif
29 29
 
30 30
 #ifndef BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f4/pins_MKS_ROBIN_NANO_V3.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 2 || E_STEPPERS > 2
28
-  #error "MKS Robin Nano V3 supports up to 2 hotends / E-steppers."
28
+  #error "MKS Robin Nano V3 supports up to 2 hotends / E steppers."
29 29
 #elif HAS_FSMC_TFT
30 30
   #error "MKS Robin Nano V3 doesn't support FSMC-based TFT displays."
31 31
 #endif

+ 1
- 1
Marlin/src/pins/stm32f4/pins_MKS_ROBIN_PRO_V2.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 2 || E_STEPPERS > 2
28
-  #error "MKS Robin Nano V3 supports up to 1 hotends / E-steppers."
28
+  #error "MKS Robin Nano V3 supports up to 2 hotends / E steppers."
29 29
 #endif
30 30
 
31 31
 #define BOARD_INFO_NAME "MKS Robin PRO V2"

+ 1
- 1
Marlin/src/pins/stm32f4/pins_RUMBA32_common.h Visa fil

@@ -28,7 +28,7 @@
28 28
 #include "env_validate.h"
29 29
 
30 30
 #if HOTENDS > 3 || E_STEPPERS > 3
31
-  #error "RUMBA32 boards support up to 3 hotends / E-steppers."
31
+  #error "RUMBA32 boards support up to 3 hotends / E steppers."
32 32
 #endif
33 33
 
34 34
 #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME

+ 1
- 1
Marlin/src/pins/stm32f4/pins_VAKE403D.h Visa fil

@@ -25,7 +25,7 @@
25 25
 #include "env_validate.h"
26 26
 
27 27
 #if HOTENDS > 2 || E_STEPPERS > 2
28
-  #error "STM32F4 supports up to 2 hotends / E-steppers."
28
+  #error "STM32F4 VAkE supports up to 2 hotends / E steppers."
29 29
 #endif
30 30
 
31 31
 #define DEFAULT_MACHINE_NAME "STM32F446VET6"

+ 1
- 1
Marlin/src/pins/stm32f7/pins_REMRAM_V1.h Visa fil

@@ -33,7 +33,7 @@
33 33
 #endif
34 34
 
35 35
 #if HAS_MULTI_HOTEND || E_STEPPERS > 1
36
-  #error "RemRam only supports one hotend / E-stepper. Comment out this line to continue."
36
+  #error "RemRam only supports 1 hotend / E stepper."
37 37
 #endif
38 38
 
39 39
 //

+ 15
- 5
Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h Visa fil

@@ -170,7 +170,9 @@
170 170
    * All pins are labeled as printed on DWIN PCB. Connect TX-TX, A-A and so on.
171 171
    */
172 172
 
173
-  #error "DWIN_CREALITY_LCD requires a custom cable, see diagram above this line. Comment out this line to continue."
173
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
174
+    #error "CAUTION! DWIN_CREALITY_LCD requires a custom cable, see diagram above this line. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
175
+  #endif
174 176
 
175 177
   #define BEEPER_PIN                 EXP1_09_PIN
176 178
   #define BTN_EN1                    EXP1_03_PIN
@@ -193,7 +195,9 @@
193 195
 
194 196
   #elif ENABLED(ZONESTAR_LCD)                     // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
195 197
 
196
-    #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
198
+    #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
199
+      #error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
200
+    #endif
197 201
 
198 202
     #define LCD_PINS_RS                     PB9
199 203
     #define LCD_PINS_ENABLE          EXP1_09_PIN
@@ -221,7 +225,9 @@
221 225
 
222 226
     #if ENABLED(TFTGLCD_PANEL_SPI)
223 227
 
224
-      #error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
228
+      #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
229
+        #error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
230
+      #endif
225 231
 
226 232
       /**
227 233
        * TFTGLCD_PANEL_SPI display pinout
@@ -258,7 +264,9 @@
258 264
 
259 265
   #elif ENABLED(FYSETC_MINI_12864_2_1)
260 266
 
261
-      #error "CAUTION! FYSETC_MINI_12864_2_1 and clones require wiring modifications. See 'pins_BTT_SKR_MINI_E3_V3_0.h' for details. Comment out this line to continue."
267
+      #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
268
+        #error "CAUTION! FYSETC_MINI_12864_2_1 and clones require wiring modifications. See 'pins_BTT_SKR_MINI_E3_V3_0.h' for details. Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning"
269
+      #endif
262 270
 
263 271
       /**
264 272
        *
@@ -307,7 +315,9 @@
307 315
 
308 316
 #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
309 317
 
310
-  #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue."
318
+  #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
319
+    #error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
320
+  #endif
311 321
 
312 322
   /**
313 323
    * FYSETC TFT TFT81050 display pinout

Laddar…
Avbryt
Spara