|
|
@ -111,7 +111,7 @@ |
|
|
|
#elif defined(FILAMENT_SENSOR) |
|
|
|
#error "FILAMENT_SENSOR is now FILAMENT_WIDTH_SENSOR." |
|
|
|
#elif defined(ENDSTOPPULLUP_FIL_RUNOUT) |
|
|
|
#error "ENDSTOPPULLUP_FIL_RUNOUT is now FIL_RUNOUT_PULL." |
|
|
|
#error "ENDSTOPPULLUP_FIL_RUNOUT is now FIL_RUNOUT_PULLUP." |
|
|
|
#elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS) |
|
|
|
#error "DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead." |
|
|
|
#elif defined(LANGUAGE_INCLUDE) |
|
|
@ -525,6 +525,8 @@ |
|
|
|
#error "EVENT_GCODE_SD_STOP is now EVENT_GCODE_SD_ABORT." |
|
|
|
#elif defined(GRAPHICAL_TFT_ROTATE_180) |
|
|
|
#error "GRAPHICAL_TFT_ROTATE_180 is now TFT_ROTATION set to TFT_ROTATE_180." |
|
|
|
#elif defined(POWER_LOSS_PULL) |
|
|
|
#error "POWER_LOSS_PULL is now specifically POWER_LOSS_PULL(UP|DOWN)." |
|
|
|
#elif defined(FIL_RUNOUT_INVERTING) |
|
|
|
#if FIL_RUNOUT_INVERTING |
|
|
|
#error "FIL_RUNOUT_INVERTING true is now FIL_RUNOUT_STATE HIGH." |
|
|
@ -653,6 +655,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
|
|
|
|
#if BOTH(ENDSTOPPULLUPS, ENDSTOPPULLDOWNS) |
|
|
|
#error "Enable only one of ENDSTOPPULLUPS or ENDSTOPPULLDOWNS." |
|
|
|
#elif BOTH(FIL_RUNOUT_PULLUP, FIL_RUNOUT_PULLDOWN) |
|
|
|
#error "Enable only one of FIL_RUNOUT_PULLUP or FIL_RUNOUT_PULLDOWN." |
|
|
|
#elif BOTH(ENDSTOPPULLUP_XMAX, ENDSTOPPULLDOWN_XMAX) |
|
|
|
#error "Enable only one of ENDSTOPPULLUP_X_MAX or ENDSTOPPULLDOWN_X_MAX." |
|
|
|
#elif BOTH(ENDSTOPPULLUP_YMAX, ENDSTOPPULLDOWN_YMAX) |
|
|
@ -823,6 +827,22 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
#error "FIL_RUNOUT7_PIN is required with NUM_RUNOUT_SENSORS >= 7." |
|
|
|
#elif NUM_RUNOUT_SENSORS >= 8 && !PIN_EXISTS(FIL_RUNOUT8) |
|
|
|
#error "FIL_RUNOUT8_PIN is required with NUM_RUNOUT_SENSORS >= 8." |
|
|
|
#elif BOTH(FIL_RUNOUT1_PULLUP, FIL_RUNOUT1_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT1_PULLUP and FIL_RUNOUT1_PULLDOWN at the same time." |
|
|
|
#elif BOTH(FIL_RUNOUT2_PULLUP, FIL_RUNOUT2_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT2_PULLUP and FIL_RUNOUT2_PULLDOWN at the same time." |
|
|
|
#elif BOTH(FIL_RUNOUT3_PULLUP, FIL_RUNOUT3_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT3_PULLUP and FIL_RUNOUT3_PULLDOWN at the same time." |
|
|
|
#elif BOTH(FIL_RUNOUT4_PULLUP, FIL_RUNOUT4_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT4_PULLUP and FIL_RUNOUT4_PULLDOWN at the same time." |
|
|
|
#elif BOTH(FIL_RUNOUT5_PULLUP, FIL_RUNOUT5_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT5_PULLUP and FIL_RUNOUT5_PULLDOWN at the same time." |
|
|
|
#elif BOTH(FIL_RUNOUT6_PULLUP, FIL_RUNOUT6_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT6_PULLUP and FIL_RUNOUT6_PULLDOWN at the same time." |
|
|
|
#elif BOTH(FIL_RUNOUT7_PULLUP, FIL_RUNOUT7_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT7_PULLUP and FIL_RUNOUT7_PULLDOWN at the same time." |
|
|
|
#elif BOTH(FIL_RUNOUT8_PULLUP, FIL_RUNOUT8_PULLDOWN) |
|
|
|
#error "You can't enable FIL_RUNOUT8_PULLUP and FIL_RUNOUT8_PULLDOWN at the same time." |
|
|
|
#elif FILAMENT_RUNOUT_DISTANCE_MM < 0 |
|
|
|
#error "FILAMENT_RUNOUT_DISTANCE_MM must be greater than or equal to zero." |
|
|
|
#elif DISABLED(ADVANCED_PAUSE_FEATURE) |
|
|
@ -2824,6 +2844,10 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2) |
|
|
|
#error "BACKUP_POWER_SUPPLY requires a POWER_LOSS_PIN." |
|
|
|
#endif |
|
|
|
|
|
|
|
#if BOTH(POWER_LOSS_PULLUP, POWER_LOSS_PULLDOWN) |
|
|
|
#error "You can't enable POWER_LOSS_PULLUP and POWER_LOSS_PULLDOWN at the same time." |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(Z_STEPPER_AUTO_ALIGN) |
|
|
|
#if NUM_Z_STEPPER_DRIVERS <= 1 |
|
|
|
#error "Z_STEPPER_AUTO_ALIGN requires NUM_Z_STEPPER_DRIVERS greater than 1." |
|
|
|