|
|
@ -615,6 +615,8 @@ |
|
|
|
#error "NOZZLE_PARK_X_ONLY is now NOZZLE_PARK_MOVE 2." |
|
|
|
#elif defined(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS) |
|
|
|
#error "Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS is now just Z_STEPPER_ALIGN_STEPPER_XY." |
|
|
|
#elif defined(DWIN_CREALITY_LCD_ENHANCED) |
|
|
|
#error "DWIN_CREALITY_LCD_ENHANCED is now DWIN_LCD_PROUI." |
|
|
|
#endif |
|
|
|
|
|
|
|
constexpr float arm[] = AXIS_RELATIVE_MODES; |
|
|
@ -846,7 +848,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
#error "PROGRESS_MSG_EXPIRE must be greater than or equal to 0." |
|
|
|
#endif |
|
|
|
#elif ENABLED(LCD_SET_PROGRESS_MANUALLY) && NONE(HAS_MARLINUI_U8GLIB, HAS_GRAPHICAL_TFT, HAS_MARLINUI_HD44780, EXTENSIBLE_UI, HAS_DWIN_E3V2, IS_DWIN_MARLINUI) |
|
|
|
#error "LCD_SET_PROGRESS_MANUALLY requires LCD_PROGRESS_BAR, Character LCD, Graphical LCD, TFT, DWIN_CREALITY_LCD, DWIN_CREALITY_LCD_ENHANCED, DWIN_CREALITY_LCD_JYERSUI, DWIN_MARLINUI_*, OR EXTENSIBLE_UI." |
|
|
|
#error "LCD_SET_PROGRESS_MANUALLY requires LCD_PROGRESS_BAR, Character LCD, Graphical LCD, TFT, DWIN_CREALITY_LCD, DWIN_LCD_PROUI, DWIN_CREALITY_LCD_JYERSUI, DWIN_MARLINUI_*, OR EXTENSIBLE_UI." |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(USE_M73_REMAINING_TIME) && DISABLED(LCD_SET_PROGRESS_MANUALLY) |
|
|
@ -1830,7 +1832,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
* LCD_BED_LEVELING requirements |
|
|
|
*/ |
|
|
|
#if ENABLED(LCD_BED_LEVELING) |
|
|
|
#if NONE(HAS_MARLINUI_MENU, DWIN_CREALITY_LCD, DWIN_CREALITY_LCD_ENHANCED) |
|
|
|
#if NONE(HAS_MARLINUI_MENU, DWIN_CREALITY_LCD, DWIN_LCD_PROUI) |
|
|
|
#error "LCD_BED_LEVELING is not supported by the selected LCD controller." |
|
|
|
#elif !(ENABLED(MESH_BED_LEVELING) || HAS_ABL_NOT_UBL) |
|
|
|
#error "LCD_BED_LEVELING requires MESH_BED_LEVELING or AUTO_BED_LEVELING." |
|
|
@ -2719,7 +2721,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
+ COUNT_ENABLED(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON, ANYCUBIC_TFT35) \ |
|
|
|
+ COUNT_ENABLED(DGUS_LCD_UI_ORIGIN, DGUS_LCD_UI_FYSETC, DGUS_LCD_UI_HIPRECY, DGUS_LCD_UI_MKS, DGUS_LCD_UI_RELOADED) \ |
|
|
|
+ COUNT_ENABLED(ENDER2_STOCKDISPLAY, CR10_STOCKDISPLAY) \ |
|
|
|
+ COUNT_ENABLED(DWIN_CREALITY_LCD, DWIN_CREALITY_LCD_ENHANCED, DWIN_CREALITY_LCD_JYERSUI, DWIN_MARLINUI_PORTRAIT, DWIN_MARLINUI_LANDSCAPE) \ |
|
|
|
+ COUNT_ENABLED(DWIN_CREALITY_LCD, DWIN_LCD_PROUI, DWIN_CREALITY_LCD_JYERSUI, DWIN_MARLINUI_PORTRAIT, DWIN_MARLINUI_LANDSCAPE) \ |
|
|
|
+ COUNT_ENABLED(FYSETC_MINI_12864_X_X, FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0, FYSETC_GENERIC_12864_1_1) \ |
|
|
|
+ COUNT_ENABLED(LCD_SAINSMART_I2C_1602, LCD_SAINSMART_I2C_2004) \ |
|
|
|
+ COUNT_ENABLED(MKS_12864OLED, MKS_12864OLED_SSD1306) \ |
|
|
@ -2849,17 +2851,17 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
#elif BOTH(LCD_BED_LEVELING, PROBE_MANUALLY) |
|
|
|
#error "DWIN_CREALITY_LCD does not support LCD_BED_LEVELING with PROBE_MANUALLY." |
|
|
|
#endif |
|
|
|
#elif ENABLED(DWIN_CREALITY_LCD_ENHANCED) |
|
|
|
#elif ENABLED(DWIN_LCD_PROUI) |
|
|
|
#if DISABLED(SDSUPPORT) |
|
|
|
#error "DWIN_CREALITY_LCD_ENHANCED requires SDSUPPORT to be enabled." |
|
|
|
#error "DWIN_LCD_PROUI requires SDSUPPORT to be enabled." |
|
|
|
#elif ENABLED(PID_EDIT_MENU) |
|
|
|
#error "DWIN_CREALITY_LCD_ENHANCED does not support PID_EDIT_MENU." |
|
|
|
#error "DWIN_LCD_PROUI does not support PID_EDIT_MENU." |
|
|
|
#elif ENABLED(PID_AUTOTUNE_MENU) |
|
|
|
#error "DWIN_CREALITY_LCD_ENHANCED does not support PID_AUTOTUNE_MENU." |
|
|
|
#error "DWIN_LCD_PROUI does not support PID_AUTOTUNE_MENU." |
|
|
|
#elif ENABLED(LEVEL_BED_CORNERS) |
|
|
|
#error "DWIN_CREALITY_LCD_ENHANCED does not support LEVEL_BED_CORNERS." |
|
|
|
#error "DWIN_LCD_PROUI does not support LEVEL_BED_CORNERS." |
|
|
|
#elif BOTH(LCD_BED_LEVELING, PROBE_MANUALLY) |
|
|
|
#error "DWIN_CREALITY_LCD_ENHANCED does not support LCD_BED_LEVELING with PROBE_MANUALLY." |
|
|
|
#error "DWIN_LCD_PROUI does not support LCD_BED_LEVELING with PROBE_MANUALLY." |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
@ -3438,7 +3440,7 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive."); |
|
|
|
#error "A very large BLOCK_BUFFER_SIZE is not needed and takes longer to drain the buffer on pause / cancel." |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(LED_CONTROL_MENU) && NONE(HAS_MARLINUI_MENU, DWIN_CREALITY_LCD_ENHANCED) |
|
|
|
#if ENABLED(LED_CONTROL_MENU) && NONE(HAS_MARLINUI_MENU, DWIN_LCD_PROUI) |
|
|
|
#error "LED_CONTROL_MENU requires an LCD controller that implements the menu." |
|
|
|
#endif |
|
|
|
|
|
|
|