From 50c81ebe0d1993892467182b9a88e499b55c24a4 Mon Sep 17 00:00:00 2001 From: Bob-the-Kuhn Date: Sat, 24 Mar 2018 09:35:45 -0500 Subject: [PATCH 1/3] remove check that always fails --- Marlin/src/inc/SanityCheck.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Marlin/src/inc/SanityCheck.h b/Marlin/src/inc/SanityCheck.h index 4c23ef226..6e6629830 100644 --- a/Marlin/src/inc/SanityCheck.h +++ b/Marlin/src/inc/SanityCheck.h @@ -1506,8 +1506,6 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, || defined(E3_HARDWARE_SERIAL) \ || defined(E4_HARDWARE_SERIAL) ) #error "Select *_HARDWARE_SERIAL to use both TMC2208 and ENDSTOP_INTERRUPTS_FEATURE." - #elif TMC2208STEPPER_VERSION < 0x000101 - #error "Update TMC2130Stepper library to 0.1.1 or newer." #endif #endif From b756a15abae35946dcb6b41261926e7233fde2cf Mon Sep 17 00:00:00 2001 From: Bob-the-Kuhn Date: Sat, 24 Mar 2018 10:22:03 -0500 Subject: [PATCH 2/3] another needs to be deleted --- Marlin/src/inc/SanityCheck.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Marlin/src/inc/SanityCheck.h b/Marlin/src/inc/SanityCheck.h index 6e6629830..54c760586 100644 --- a/Marlin/src/inc/SanityCheck.h +++ b/Marlin/src/inc/SanityCheck.h @@ -1424,8 +1424,6 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, || ENABLED(E3_IS_TMC2130) \ || ENABLED(E4_IS_TMC2130) ) #error "HAVE_TMC2130 requires at least one TMC2130 stepper to be set." - #elif TMC2130STEPPER_VERSION < 0x020201 - #error "Update TMC2130Stepper library to 2.2.1 or newer." #elif ENABLED(HYBRID_THRESHOLD) && DISABLED(STEALTHCHOP) #error "Enable STEALTHCHOP to use HYBRID_THRESHOLD." #endif From 433e984d1fddebdb35a2191d250933640dd4c2eb Mon Sep 17 00:00:00 2001 From: Bob-the-Kuhn Date: Sat, 24 Mar 2018 13:44:54 -0500 Subject: [PATCH 3/3] move comment to fix compile error --- Marlin/src/inc/SanityCheck.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Marlin/src/inc/SanityCheck.h b/Marlin/src/inc/SanityCheck.h index 54c760586..71992f4c2 100644 --- a/Marlin/src/inc/SanityCheck.h +++ b/Marlin/src/inc/SanityCheck.h @@ -1491,7 +1491,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, || ENABLED(E3_IS_TMC2208) \ || ENABLED(E4_IS_TMC2208 ) ) #error "HAVE_TMC2208 requires at least one TMC2208 stepper to be set." - #elif ENABLED(ENDSTOP_INTERRUPTS_FEATURE) && \ // Software UART and ENDSTOP_INTERRUPTS both use Pin Change interrupts (PCI) + // Software UART and ENDSTOP_INTERRUPTS both use Pin Change interrupts (PCI) + #elif ENABLED(ENDSTOP_INTERRUPTS_FEATURE) && \ !( defined( X_HARDWARE_SERIAL) \ || defined(X2_HARDWARE_SERIAL) \ || defined( Y_HARDWARE_SERIAL) \