🎨 Fix/adjust warnings (#24225)
This commit is contained in:
committed by
Scott Lahteine
parent
3c482a9ba1
commit
8465818754
@ -24,7 +24,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#ifndef ARMED_V1_0
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "Artillery Ruby"
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "BTT BTT002 V1.0"
|
||||
|
@ -211,7 +211,9 @@
|
||||
|
||||
#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
|
||||
*
|
||||
@ -245,7 +247,9 @@
|
||||
|
||||
#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_ENABLE PE9
|
||||
@ -273,7 +277,9 @@
|
||||
|
||||
#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
|
||||
@ -327,7 +333,9 @@
|
||||
|
||||
#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
|
||||
*
|
||||
|
@ -26,7 +26,7 @@
|
||||
#if E_STEPPERS > MAX_E_STEPPERS
|
||||
#error "Marlin extruder/hotends limit! Increase MAX_E_STEPPERS to continue."
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "BTT GTR V1.0"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#pragma once
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR Pro V1.1"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#pragma once
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR Pro V1.2"
|
||||
|
@ -456,7 +456,9 @@
|
||||
|
||||
#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.
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "FLYF407ZG"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
@ -117,7 +117,7 @@
|
||||
#endif
|
||||
|
||||
#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
|
||||
#include "pins_FYSETC_S6.h"
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "Lerdge K"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "Lerdge S"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "Lerdge X"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
#error "MKS Eagle doesn't support FSMC-based TFT displays."
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
#error "MKS Monster doesn't support FSMC-based TFT displays."
|
||||
#endif
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
#error "MKS Robin Nano V3 doesn't support FSMC-based TFT displays."
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define BOARD_INFO_NAME "MKS Robin PRO V2"
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#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
|
||||
|
||||
#define DEFAULT_MACHINE_NAME "STM32F446VET6"
|
||||
|
Reference in New Issue
Block a user