|
@ -477,7 +477,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
#if ENABLED(MIN_SOFTWARE_ENDSTOPS) && DISABLED(MIN_SOFTWARE_ENDSTOP_Z) |
|
|
#if ENABLED(MIN_SOFTWARE_ENDSTOPS) && DISABLED(MIN_SOFTWARE_ENDSTOP_Z) |
|
|
#if IS_KINEMATIC |
|
|
#if IS_KINEMATIC |
|
|
#error "MIN_SOFTWARE_ENDSTOPS on DELTA/SCARA also requires MIN_SOFTWARE_ENDSTOP_Z." |
|
|
#error "MIN_SOFTWARE_ENDSTOPS on DELTA/SCARA also requires MIN_SOFTWARE_ENDSTOP_Z." |
|
|
#elif DISABLED(MIN_SOFTWARE_ENDSTOP_X, MIN_SOFTWARE_ENDSTOP_Y) |
|
|
#elif NONE(MIN_SOFTWARE_ENDSTOP_X, MIN_SOFTWARE_ENDSTOP_Y) |
|
|
#error "MIN_SOFTWARE_ENDSTOPS requires at least one of the MIN_SOFTWARE_ENDSTOP_[XYZ] options." |
|
|
#error "MIN_SOFTWARE_ENDSTOPS requires at least one of the MIN_SOFTWARE_ENDSTOP_[XYZ] options." |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
@ -485,7 +485,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
#if ENABLED(MAX_SOFTWARE_ENDSTOPS) && DISABLED(MAX_SOFTWARE_ENDSTOP_Z) |
|
|
#if ENABLED(MAX_SOFTWARE_ENDSTOPS) && DISABLED(MAX_SOFTWARE_ENDSTOP_Z) |
|
|
#if IS_KINEMATIC |
|
|
#if IS_KINEMATIC |
|
|
#error "MAX_SOFTWARE_ENDSTOPS on DELTA/SCARA also requires MAX_SOFTWARE_ENDSTOP_Z." |
|
|
#error "MAX_SOFTWARE_ENDSTOPS on DELTA/SCARA also requires MAX_SOFTWARE_ENDSTOP_Z." |
|
|
#elif DISABLED(MAX_SOFTWARE_ENDSTOP_X, MAX_SOFTWARE_ENDSTOP_Y) |
|
|
#elif NONE(MAX_SOFTWARE_ENDSTOP_X, MAX_SOFTWARE_ENDSTOP_Y) |
|
|
#error "MAX_SOFTWARE_ENDSTOPS requires at least one of the MAX_SOFTWARE_ENDSTOP_[XYZ] options." |
|
|
#error "MAX_SOFTWARE_ENDSTOPS requires at least one of the MAX_SOFTWARE_ENDSTOP_[XYZ] options." |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
@ -534,7 +534,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
* Progress Bar |
|
|
* Progress Bar |
|
|
*/ |
|
|
*/ |
|
|
#if ENABLED(LCD_PROGRESS_BAR) |
|
|
#if ENABLED(LCD_PROGRESS_BAR) |
|
|
#if DISABLED(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) |
|
|
#if NONE(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) |
|
|
#error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY." |
|
|
#error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY." |
|
|
#elif !HAS_CHARACTER_LCD |
|
|
#elif !HAS_CHARACTER_LCD |
|
|
#error "LCD_PROGRESS_BAR requires a character LCD." |
|
|
#error "LCD_PROGRESS_BAR requires a character LCD." |
|
@ -646,7 +646,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
#error "FILAMENT_RUNOUT_SENSOR with NUM_RUNOUT_SENSORS > 4 requires FIL_RUNOUT5_PIN." |
|
|
#error "FILAMENT_RUNOUT_SENSOR with NUM_RUNOUT_SENSORS > 4 requires FIL_RUNOUT5_PIN." |
|
|
#elif NUM_RUNOUT_SENSORS > 5 && !PIN_EXISTS(FIL_RUNOUT6) |
|
|
#elif NUM_RUNOUT_SENSORS > 5 && !PIN_EXISTS(FIL_RUNOUT6) |
|
|
#error "FILAMENT_RUNOUT_SENSOR with NUM_RUNOUT_SENSORS > 5 requires FIL_RUNOUT6_PIN." |
|
|
#error "FILAMENT_RUNOUT_SENSOR with NUM_RUNOUT_SENSORS > 5 requires FIL_RUNOUT6_PIN." |
|
|
#elif DISABLED(SDSUPPORT, PRINTJOB_TIMER_AUTOSTART) |
|
|
#elif NONE(SDSUPPORT, PRINTJOB_TIMER_AUTOSTART) |
|
|
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT or PRINTJOB_TIMER_AUTOSTART." |
|
|
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT or PRINTJOB_TIMER_AUTOSTART." |
|
|
#elif FILAMENT_RUNOUT_DISTANCE_MM < 0 |
|
|
#elif FILAMENT_RUNOUT_DISTANCE_MM < 0 |
|
|
#error "FILAMENT_RUNOUT_DISTANCE_MM must be greater than or equal to zero." |
|
|
#error "FILAMENT_RUNOUT_DISTANCE_MM must be greater than or equal to zero." |
|
@ -663,7 +663,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
#error "ADVANCED_PAUSE_FEATURE currently requires an LCD controller or EMERGENCY_PARSER." |
|
|
#error "ADVANCED_PAUSE_FEATURE currently requires an LCD controller or EMERGENCY_PARSER." |
|
|
#elif ENABLED(EXTRUDER_RUNOUT_PREVENT) |
|
|
#elif ENABLED(EXTRUDER_RUNOUT_PREVENT) |
|
|
#error "EXTRUDER_RUNOUT_PREVENT is incompatible with ADVANCED_PAUSE_FEATURE." |
|
|
#error "EXTRUDER_RUNOUT_PREVENT is incompatible with ADVANCED_PAUSE_FEATURE." |
|
|
#elif ENABLED(PARK_HEAD_ON_PAUSE) && DISABLED(SDSUPPORT, NEWPANEL, EMERGENCY_PARSER) |
|
|
#elif ENABLED(PARK_HEAD_ON_PAUSE) && NONE(SDSUPPORT, NEWPANEL, EMERGENCY_PARSER) |
|
|
#error "PARK_HEAD_ON_PAUSE requires SDSUPPORT, EMERGENCY_PARSER, or an LCD controller." |
|
|
#error "PARK_HEAD_ON_PAUSE requires SDSUPPORT, EMERGENCY_PARSER, or an LCD controller." |
|
|
#elif ENABLED(HOME_BEFORE_FILAMENT_CHANGE) && DISABLED(PAUSE_PARK_NO_STEPPER_TIMEOUT) |
|
|
#elif ENABLED(HOME_BEFORE_FILAMENT_CHANGE) && DISABLED(PAUSE_PARK_NO_STEPPER_TIMEOUT) |
|
|
#error "HOME_BEFORE_FILAMENT_CHANGE requires PAUSE_PARK_NO_STEPPER_TIMEOUT." |
|
|
#error "HOME_BEFORE_FILAMENT_CHANGE requires PAUSE_PARK_NO_STEPPER_TIMEOUT." |
|
@ -983,7 +983,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
* Delta requirements |
|
|
* Delta requirements |
|
|
*/ |
|
|
*/ |
|
|
#if ENABLED(DELTA) |
|
|
#if ENABLED(DELTA) |
|
|
#if DISABLED(USE_XMAX_PLUG, USE_YMAX_PLUG, USE_ZMAX_PLUG) |
|
|
#if NONE(USE_XMAX_PLUG, USE_YMAX_PLUG, USE_ZMAX_PLUG) |
|
|
#error "You probably want to use Max Endstops for DELTA!" |
|
|
#error "You probably want to use Max Endstops for DELTA!" |
|
|
#elif ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(AUTO_BED_LEVELING_BILINEAR) && !UBL_SEGMENTED |
|
|
#elif ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(AUTO_BED_LEVELING_BILINEAR) && !UBL_SEGMENTED |
|
|
#error "ENABLE_LEVELING_FADE_HEIGHT on DELTA requires AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL." |
|
|
#error "ENABLE_LEVELING_FADE_HEIGHT on DELTA requires AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL." |
|
@ -1326,7 +1326,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
/**
|
|
|
/**
|
|
|
* ULTIPANEL encoder |
|
|
* ULTIPANEL encoder |
|
|
*/ |
|
|
*/ |
|
|
#if ENABLED(ULTIPANEL) && DISABLED(NEWPANEL, SR_LCD_2W_NL) && !defined(SHIFT_CLK) |
|
|
#if ENABLED(ULTIPANEL) && NONE(NEWPANEL, SR_LCD_2W_NL) && !defined(SHIFT_CLK) |
|
|
#error "ULTIPANEL requires some kind of encoder." |
|
|
#error "ULTIPANEL requires some kind of encoder." |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -1338,7 +1338,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
* SAV_3DGLCD display options |
|
|
* SAV_3DGLCD display options |
|
|
*/ |
|
|
*/ |
|
|
#if ENABLED(SAV_3DGLCD) |
|
|
#if ENABLED(SAV_3DGLCD) |
|
|
#if DISABLED(U8GLIB_SSD1306, U8GLIB_SH1106) |
|
|
#if NONE(U8GLIB_SSD1306, U8GLIB_SH1106) |
|
|
#error "Enable a SAV_3DGLCD display type: U8GLIB_SSD1306 or U8GLIB_SH1106." |
|
|
#error "Enable a SAV_3DGLCD display type: U8GLIB_SSD1306 or U8GLIB_SH1106." |
|
|
#elif BOTH(U8GLIB_SSD1306, U8GLIB_SH1106) |
|
|
#elif BOTH(U8GLIB_SSD1306, U8GLIB_SH1106) |
|
|
#error "Only enable one SAV_3DGLCD display type: U8GLIB_SSD1306 or U8GLIB_SH1106." |
|
|
#error "Only enable one SAV_3DGLCD display type: U8GLIB_SSD1306 or U8GLIB_SH1106." |
|
@ -1875,7 +1875,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
+ ENABLED(FYSETC_MINI_12864_1_2) \ |
|
|
+ ENABLED(FYSETC_MINI_12864_1_2) \ |
|
|
+ ENABLED(FYSETC_MINI_12864_2_0) \ |
|
|
+ ENABLED(FYSETC_MINI_12864_2_0) \ |
|
|
+ ENABLED(FYSETC_MINI_12864_2_1) \ |
|
|
+ ENABLED(FYSETC_MINI_12864_2_1) \ |
|
|
+ (ENABLED(REPRAPWORLD_KEYPAD) && DISABLED(CARTESIO_UI, ZONESTAR_LCD)) \ |
|
|
+ (ENABLED(REPRAPWORLD_KEYPAD) && NONE(CARTESIO_UI, ZONESTAR_LCD)) \ |
|
|
+ ENABLED(RIGIDBOT_PANEL) \ |
|
|
+ ENABLED(RIGIDBOT_PANEL) \ |
|
|
+ ENABLED(RA_CONTROL_PANEL) \ |
|
|
+ ENABLED(RA_CONTROL_PANEL) \ |
|
|
+ ENABLED(LCD_SAINSMART_I2C_1602) \ |
|
|
+ ENABLED(LCD_SAINSMART_I2C_1602) \ |
|
@ -1883,7 +1883,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
+ ENABLED(LCM1602) \ |
|
|
+ ENABLED(LCM1602) \ |
|
|
+ ENABLED(LCD_I2C_PANELOLU2) \ |
|
|
+ ENABLED(LCD_I2C_PANELOLU2) \ |
|
|
+ ENABLED(LCD_I2C_VIKI) \ |
|
|
+ ENABLED(LCD_I2C_VIKI) \ |
|
|
+ (ENABLED(U8GLIB_SSD1306) && DISABLED(OLED_PANEL_TINYBOY2, MKS_12864OLED_SSD1306)) \ |
|
|
+ (ENABLED(U8GLIB_SSD1306) && NONE(OLED_PANEL_TINYBOY2, MKS_12864OLED_SSD1306)) \ |
|
|
+ ENABLED(SAV_3DLCD) \ |
|
|
+ ENABLED(SAV_3DLCD) \ |
|
|
+ ENABLED(BQ_LCD_SMART_CONTROLLER) \ |
|
|
+ ENABLED(BQ_LCD_SMART_CONTROLLER) \ |
|
|
+ ENABLED(SAV_3DGLCD) \ |
|
|
+ ENABLED(SAV_3DGLCD) \ |
|
@ -1892,7 +1892,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
+ ENABLED(ULTI_CONTROLLER) \ |
|
|
+ ENABLED(ULTI_CONTROLLER) \ |
|
|
+ ENABLED(MALYAN_LCD) \ |
|
|
+ ENABLED(MALYAN_LCD) \ |
|
|
+ ENABLED(DGUS_LCD) \ |
|
|
+ ENABLED(DGUS_LCD) \ |
|
|
+ (ENABLED(EXTENSIBLE_UI) && DISABLED(MALYAN_LCD, DGUS_LCD)) |
|
|
+ (ENABLED(EXTENSIBLE_UI) && NONE(MALYAN_LCD, DGUS_LCD)) |
|
|
#error "Please select no more than one LCD controller option." |
|
|
#error "Please select no more than one LCD controller option." |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|