|
|
@ -494,14 +494,12 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined(TARGET_LPC1768) && ( \
|
|
|
|
#if !defined(TARGET_LPC1768) && ANY( \
|
|
|
|
ENABLED(ENDSTOPPULLDOWNS) \
|
|
|
|
ENDSTOPPULLDOWNS, \
|
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_XMAX) \
|
|
|
|
ENDSTOPPULLDOWN_XMAX, ENDSTOPPULLDOWN_YMAX, \
|
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_YMAX) \
|
|
|
|
ENDSTOPPULLDOWN_ZMAX, ENDSTOPPULLDOWN_XMIN, \
|
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_ZMAX) \
|
|
|
|
ENDSTOPPULLDOWN_YMIN, ENDSTOPPULLDOWN_ZMIN \
|
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_XMIN) \
|
|
|
|
)
|
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_YMIN) \
|
|
|
|
|
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_ZMIN) )
|
|
|
|
|
|
|
|
#error "PULLDOWN pin mode is not available on the selected board."
|
|
|
|
#error "PULLDOWN pin mode is not available on the selected board."
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -602,7 +600,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|
|
|
* I2C Position Encoders
|
|
|
|
* I2C Position Encoders
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if ENABLED(I2C_POSITION_ENCODERS)
|
|
|
|
#if ENABLED(I2C_POSITION_ENCODERS)
|
|
|
|
#if DISABLED(BABYSTEPPING) || DISABLED(BABYSTEP_XY)
|
|
|
|
#if !BOTH(BABYSTEPPING, BABYSTEP_XY)
|
|
|
|
#error "I2C_POSITION_ENCODERS requires BABYSTEPPING and BABYSTEP_XY."
|
|
|
|
#error "I2C_POSITION_ENCODERS requires BABYSTEPPING and BABYSTEP_XY."
|
|
|
|
#elif !WITHIN(I2CPE_ENCODER_CNT, 1, 5)
|
|
|
|
#elif !WITHIN(I2CPE_ENCODER_CNT, 1, 5)
|
|
|
|
#error "I2CPE_ENCODER_CNT must be between 1 and 5."
|
|
|
|
#error "I2CPE_ENCODER_CNT must be between 1 and 5."
|
|
|
@ -1256,7 +1254,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|
|
|
#error "G26_MESH_VALIDATION requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_UBL."
|
|
|
|
#error "G26_MESH_VALIDATION requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_UBL."
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MESH_EDIT_GFX_OVERLAY) && (DISABLED(AUTO_BED_LEVELING_UBL) || DISABLED(DOGLCD))
|
|
|
|
#if ENABLED(MESH_EDIT_GFX_OVERLAY) && !BOTH(AUTO_BED_LEVELING_UBL, DOGLCD)
|
|
|
|
#error "MESH_EDIT_GFX_OVERLAY requires AUTO_BED_LEVELING_UBL and a Graphical LCD."
|
|
|
|
#error "MESH_EDIT_GFX_OVERLAY requires AUTO_BED_LEVELING_UBL and a Graphical LCD."
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|