|
@@ -301,7 +301,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|
301
|
301
|
#error "BABYSTEPPING is not implemented for SCARA yet."
|
302
|
302
|
#elif ENABLED(DELTA) && ENABLED(BABYSTEP_XY)
|
303
|
303
|
#error "BABYSTEPPING only implemented for Z axis on deltabots."
|
304
|
|
- #elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && ENABLED(MESH_BED_LEVELING)
|
|
304
|
+ #elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && ENABLED(MESH_BED_LEVELING)
|
305
|
305
|
#error "MESH_BED_LEVELING and BABYSTEP_ZPROBE_OFFSET is not a valid combination"
|
306
|
306
|
#elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && !HAS_BED_PROBE
|
307
|
307
|
#error "BABYSTEP_ZPROBE_OFFSET requires a probe."
|
|
@@ -643,12 +643,10 @@ static_assert(1 >= 0
|
643
|
643
|
/**
|
644
|
644
|
* Require some kind of probe for bed leveling and probe testing
|
645
|
645
|
*/
|
646
|
|
- #if HAS_ABL
|
647
|
|
- #if ENABLED(AUTO_BED_LEVELING_UBL)
|
648
|
|
- #error "Unified Bed Leveling requires a probe: FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
|
649
|
|
- #else
|
650
|
|
- #error "Auto Bed Leveling requires one of these: PROBE_MANUALLY, FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or a Z Servo."
|
651
|
|
- #endif
|
|
646
|
+ #if ENABLED(AUTO_BED_LEVELING_UBL)
|
|
647
|
+ #error "Unified Bed Leveling requires a probe: FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
|
|
648
|
+ #elif HAS_ABL
|
|
649
|
+ #error "Auto Bed Leveling requires one of these: PROBE_MANUALLY, FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or a Z Servo."
|
652
|
650
|
#endif
|
653
|
651
|
|
654
|
652
|
#endif
|
|
@@ -918,10 +916,11 @@ static_assert(1 >= 0
|
918
|
916
|
#error "TEMP_SENSOR_0 is required."
|
919
|
917
|
#endif
|
920
|
918
|
|
921
|
|
-#if HOTENDS > 1 || ENABLED(HEATERS_PARALLEL)
|
922
|
|
- #if !HAS_HEATER_1
|
923
|
|
- #error "HEATER_1_PIN not defined for this board."
|
924
|
|
- #endif
|
|
919
|
+// Pins are required for heaters
|
|
920
|
+#if ENABLED(HEATER_0_USES_MAX6675) && !(defined(MAX6675_SS) && MAX6675_SS >= 0)
|
|
921
|
+ #error "MAX6675_SS (required for TEMP_SENSOR_0) not defined for this board."
|
|
922
|
+#elif (HOTENDS > 1 || ENABLED(HEATERS_PARALLEL)) && !HAS_HEATER_1
|
|
923
|
+ #error "HEATER_1_PIN not defined for this board."
|
925
|
924
|
#endif
|
926
|
925
|
|
927
|
926
|
#if HOTENDS > 1
|
|
@@ -1297,4 +1296,4 @@ static_assert(COUNT(sanity_arr_2) <= XYZE_N, "DEFAULT_MAX_FEEDRATE has too many
|
1297
|
1296
|
static_assert(COUNT(sanity_arr_3) <= XYZE_N, "DEFAULT_MAX_ACCELERATION has too many elements.");
|
1298
|
1297
|
|
1299
|
1298
|
|
1300
|
|
-#include "src/HAL/HAL_SanityCheck.h" // get CPU specific checks
|
|
1299
|
+#include "../HAL/HAL_SanityCheck.h" // get CPU specific checks
|