|
@@ -1509,8 +1509,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
1509
|
1509
|
*/
|
1510
|
1510
|
#if 1 < 0 \
|
1511
|
1511
|
+ (DISABLED(BLTOUCH) && HAS_Z_SERVO_PROBE) \
|
1512
|
|
- + COUNT_ENABLED(PROBE_MANUALLY, BLTOUCH, FIX_MOUNTED_PROBE, NOZZLE_AS_PROBE, TOUCH_MI_PROBE, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, RACK_AND_PINION_PROBE, SENSORLESS_PROBING)
|
1513
|
|
- #error "Please enable only one probe option: PROBE_MANUALLY, SENSORLESS_PROBING, BLTOUCH, FIX_MOUNTED_PROBE, NOZZLE_AS_PROBE, TOUCH_MI_PROBE, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
|
|
1512
|
+ + COUNT_ENABLED(PROBE_MANUALLY, BLTOUCH, FIX_MOUNTED_PROBE, NOZZLE_AS_PROBE, TOUCH_MI_PROBE, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, RACK_AND_PINION_PROBE, SENSORLESS_PROBING, MAGLEV4)
|
|
1513
|
+ #error "Please enable only one probe option: PROBE_MANUALLY, SENSORLESS_PROBING, BLTOUCH, FIX_MOUNTED_PROBE, NOZZLE_AS_PROBE, TOUCH_MI_PROBE, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, MAGLEV4, or Z Servo."
|
1514
|
1514
|
#endif
|
1515
|
1515
|
|
1516
|
1516
|
#if HAS_BED_PROBE
|
|
@@ -1613,6 +1613,19 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
1613
|
1613
|
#endif
|
1614
|
1614
|
|
1615
|
1615
|
/**
|
|
1616
|
+ * MagLev V4 probe requirements
|
|
1617
|
+ */
|
|
1618
|
+ #if ENABLED(MAGLEV4)
|
|
1619
|
+ #if !PIN_EXISTS(MAGLEV_TRIGGER)
|
|
1620
|
+ #error "MAGLEV4 requires MAGLEV_TRIGGER_PIN to be defined."
|
|
1621
|
+ #elif DISABLED(Z_SAFE_HOMING)
|
|
1622
|
+ #error "MAGLEV4 requires Z_SAFE_HOMING."
|
|
1623
|
+ #elif MAGLEV_TRIGGER_DELAY != 15
|
|
1624
|
+ #error "MAGLEV_TRIGGER_DELAY should not be changed. Comment out this line to continue."
|
|
1625
|
+ #endif
|
|
1626
|
+ #endif
|
|
1627
|
+
|
|
1628
|
+ /**
|
1616
|
1629
|
* Require pin options and pins to be defined
|
1617
|
1630
|
*/
|
1618
|
1631
|
#if ENABLED(SENSORLESS_PROBING)
|
|
@@ -1699,11 +1712,11 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
1699
|
1712
|
* Require some kind of probe for bed leveling and probe testing
|
1700
|
1713
|
*/
|
1701
|
1714
|
#if HAS_ABL_NOT_UBL && !PROBE_SELECTED
|
1702
|
|
- #error "Auto Bed Leveling requires one of these: PROBE_MANUALLY, SENSORLESS_PROBING, BLTOUCH, FIX_MOUNTED_PROBE, NOZZLE_AS_PROBE, TOUCH_MI_PROBE, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or a Z Servo."
|
|
1715
|
+ #error "Auto Bed Leveling requires either PROBE_MANUALLY, SENSORLESS_PROBING, or a real probe."
|
1703
|
1716
|
#endif
|
1704
|
1717
|
|
1705
|
1718
|
#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
|
1706
|
|
- #error "Z_MIN_PROBE_REPEATABILITY_TEST requires a probe: FIX_MOUNTED_PROBE, NOZZLE_AS_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
|
|
1719
|
+ #error "Z_MIN_PROBE_REPEATABILITY_TEST requires a real probe."
|
1707
|
1720
|
#endif
|
1708
|
1721
|
|
1709
|
1722
|
#endif
|
|
@@ -3443,7 +3456,7 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive.");
|
3443
|
3456
|
|
3444
|
3457
|
#if ENABLED(MECHANICAL_GANTRY_CALIBRATION)
|
3445
|
3458
|
#if NONE(HAS_MOTOR_CURRENT_DAC, HAS_MOTOR_CURRENT_SPI, HAS_MOTOR_CURRENT_DAC, HAS_TRINAMIC_CONFIG, HAS_MOTOR_CURRENT_PWM)
|
3446
|
|
- #error "It is highly recommended to have adjustable current drivers to prevent damage. Disable this line to continue anyway."
|
|
3459
|
+ #error "Adjustable current drivers are highly recommended to prevent damage. Comment out this line to continue anyway."
|
3447
|
3460
|
#elif !defined(GANTRY_CALIBRATION_CURRENT)
|
3448
|
3461
|
#error "MECHANICAL_GANTRY_CALIBRATION Requires GANTRY_CALIBRATION_CURRENT to be set."
|
3449
|
3462
|
#elif !defined(GANTRY_CALIBRATION_EXTRA_HEIGHT)
|