🎨 Fix/adjust warnings (#24225, #24404)

This commit is contained in:
Keith Bennett 2022-05-22 14:32:16 -07:00 committed by Scott Lahteine
parent e570c4cc2e
commit 90074e6260
98 changed files with 176 additions and 121 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -223,7 +223,9 @@
#elif ENABLED(ANET_FULL_GRAPHICS_LCD) #elif ENABLED(ANET_FULL_GRAPHICS_LCD)
#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way. * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
@ -257,7 +259,9 @@
#elif ENABLED(WYH_L12864) #elif ENABLED(WYH_L12864)
#error "CAUTION! WYH_L12864 requires wiring modifications. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way. * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.

View file

@ -286,7 +286,9 @@
#elif HAS_WIRED_LCD #elif HAS_WIRED_LCD
#if ENABLED(ANET_FULL_GRAPHICS_LCD_ALT_WIRING) #if ENABLED(ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
#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." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way. * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
@ -318,7 +320,9 @@
#define BEEPER_PIN EXP1_08_PIN #define BEEPER_PIN EXP1_08_PIN
#elif ENABLED(ANET_FULL_GRAPHICS_LCD) #elif ENABLED(ANET_FULL_GRAPHICS_LCD)
#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way. * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.

View file

@ -307,7 +307,9 @@
#elif ENABLED(ZONESTAR_LCD) #elif ENABLED(ZONESTAR_LCD)
#error "CAUTION! ZONESTAR_LCD on REARM requires wiring modifications. NB. ADCs are not 5V tolerant. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#elif IS_TFTGLCD_PANEL #elif IS_TFTGLCD_PANEL

View file

@ -204,7 +204,9 @@
#define EXP1_08_PIN P0_18 #define EXP1_08_PIN P0_18
#if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI #if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
#error "Ender-3 V2 display requires a custom cable with TX = P0_15, RX = P0_16. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* Ender 3 V2 display SKR E3 Turbo (EXP1) Ender 3 V2 display --> SKR E3 Turbo * Ender 3 V2 display SKR E3 Turbo (EXP1) Ender 3 V2 display --> SKR E3 Turbo
@ -238,7 +240,9 @@
#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD! #elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_E3_TURBO.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#define LCD_PINS_RS EXP1_06_PIN #define LCD_PINS_RS EXP1_06_PIN
#define LCD_PINS_ENABLE EXP1_02_PIN #define LCD_PINS_ENABLE EXP1_02_PIN

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -592,7 +592,10 @@
#elif ENABLED(ZONESTAR_LCD) #elif ENABLED(ZONESTAR_LCD)
#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." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#define LCD_PINS_RS AUX2_05_PIN #define LCD_PINS_RS AUX2_05_PIN
#define LCD_PINS_ENABLE AUX2_07_PIN #define LCD_PINS_ENABLE AUX2_07_PIN
#define LCD_PINS_D4 AUX2_04_PIN #define LCD_PINS_D4 AUX2_04_PIN
@ -859,7 +862,9 @@
#if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050) #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif
/** /**
* FYSETC TFT-81050 display pinout * FYSETC TFT-81050 display pinout

View file

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

View file

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

View file

@ -30,9 +30,9 @@
#define DEFAULT_MACHINE_NAME "Rapide Lite 200" #define DEFAULT_MACHINE_NAME "Rapide Lite 200"
#if HOTENDS > 2 || E_STEPPERS > 2 #if HOTENDS > 2 || E_STEPPERS > 2
#error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue." #error "RL200v1 supports up to 2 hotends / E steppers."
#elif NUM_Z_STEPPERS != 2 #elif NUM_Z_STEPPERS != 2
#error "RL200 uses dual Z stepper motors. Set NUM_Z_STEPPERS to 2 or comment out this line to continue." #error "RL200 uses dual Z stepper motors. Z_DRIVER_TYPE and Z2_DRIVER_TYPE must be defined."
#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)) #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))
#error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200." #error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
#endif #endif

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -182,7 +182,9 @@
#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD! #elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#define LCD_PINS_RS PB9 #define LCD_PINS_RS PB9
#define LCD_PINS_ENABLE PB6 #define LCD_PINS_ENABLE PB6
@ -224,7 +226,9 @@
#if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050) #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_E3_DIP.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** FYSETC TFT TFT81050 display pinout /** FYSETC TFT TFT81050 display pinout
* *

View file

@ -150,7 +150,9 @@
* All pins are labeled as printed on DWIN PCB. Connect TX-TX, A-A and so on. * All pins are labeled as printed on DWIN PCB. Connect TX-TX, A-A and so on.
*/ */
#error "Ender-3 V2 display requires a custom cable, see diagram above this line. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#define BEEPER_PIN EXP1_02_PIN #define BEEPER_PIN EXP1_02_PIN
#define BTN_EN1 EXP1_08_PIN #define BTN_EN1 EXP1_08_PIN
@ -173,7 +175,9 @@
#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD! #elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#define LCD_PINS_RS PB9 #define LCD_PINS_RS PB9
#define LCD_PINS_ENABLE EXP1_02_PIN #define LCD_PINS_ENABLE EXP1_02_PIN
@ -201,7 +205,9 @@
#if ENABLED(TFTGLCD_PANEL_SPI) #if ENABLED(TFTGLCD_PANEL_SPI)
#error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* TFTGLCD_PANEL_SPI display pinout * TFTGLCD_PANEL_SPI display pinout
@ -238,7 +244,9 @@
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#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." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 display pinout * FYSETC_MINI_12864_2_1 / MKS_MINI_12864_V3 / BTT_MINI_12864_V1 display pinout
@ -309,7 +317,9 @@
#if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050) #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* FYSETC TFT TFT81050 display pinout * FYSETC TFT TFT81050 display pinout

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -173,7 +173,9 @@
#if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050) #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_E3_DIP.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** FYSETC TFT TFT81050 display pinout /** FYSETC TFT TFT81050 display pinout
* *

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -211,7 +211,9 @@
#if ENABLED(LCD_FOR_MELZI) #if ENABLED(LCD_FOR_MELZI)
#error "CAUTION! LCD_FOR_MELZI requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** LCD_FOR_MELZI display pinout /** LCD_FOR_MELZI display pinout
* *
@ -245,7 +247,9 @@
#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD! #elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#define LCD_PINS_RS PE10 #define LCD_PINS_RS PE10
#define LCD_PINS_ENABLE PE9 #define LCD_PINS_ENABLE PE9
@ -273,7 +277,9 @@
#if ENABLED(TFTGLCD_PANEL_SPI) #if ENABLED(TFTGLCD_PANEL_SPI)
#error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* TFTGLCD_PANEL_SPI display pinout * TFTGLCD_PANEL_SPI display pinout
@ -327,7 +333,9 @@
#if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050) #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_E3_RRF.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** FYSETC TFT TFT81050 display pinout /** FYSETC TFT TFT81050 display pinout
* *

View file

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

View file

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

View file

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

View file

@ -456,7 +456,9 @@
#elif ENABLED(WYH_L12864) #elif ENABLED(WYH_L12864)
#error "CAUTION! WYH_L12864 requires wiring modifications. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way. * 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -170,7 +170,9 @@
* All pins are labeled as printed on DWIN PCB. Connect TX-TX, A-A and so on. * All pins are labeled as printed on DWIN PCB. Connect TX-TX, A-A and so on.
*/ */
#error "DWIN_CREALITY_LCD requires a custom cable, see diagram above this line. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! DWIN_CREALITY_LCD requires a custom cable, see diagram above this line. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif
#define BEEPER_PIN EXP1_02_PIN #define BEEPER_PIN EXP1_02_PIN
#define BTN_EN1 EXP1_08_PIN #define BTN_EN1 EXP1_08_PIN
@ -193,7 +195,9 @@
#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD! #elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
#define LCD_PINS_RS PB9 #define LCD_PINS_RS PB9
#define LCD_PINS_ENABLE EXP1_02_PIN #define LCD_PINS_ENABLE EXP1_02_PIN
@ -221,7 +225,9 @@
#if ENABLED(TFTGLCD_PANEL_SPI) #if ENABLED(TFTGLCD_PANEL_SPI)
#error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* TFTGLCD_PANEL_SPI display pinout * TFTGLCD_PANEL_SPI display pinout
@ -258,7 +264,9 @@
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#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." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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"
#endif
/** /**
* *
@ -307,7 +315,9 @@
#if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050) #if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. Comment out this line to continue." #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#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.)"
#endif
/** /**
* FYSETC TFT TFT81050 display pinout * FYSETC TFT TFT81050 display pinout