Use TMC2208Stepper v0.2.5 (#11714)

This commit is contained in:
Scott Lahteine
2018-09-08 20:41:21 -05:00
committed by GitHub
parent e25d2ae4a2
commit eafd62308e
3 changed files with 6 additions and 7 deletions

View File

@ -1599,7 +1599,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
/**
* TMC2208 software UART is only supported on AVR
*/
#if HAS_DRIVER(TMC2208) && !defined(__AVR__) && !( \
#if HAS_DRIVER(TMC2208) && !defined(__AVR__) && !defined(TARGET_LPC1768) && !( \
defined(X_HARDWARE_SERIAL ) \
|| defined(X2_HARDWARE_SERIAL) \
|| defined(Y_HARDWARE_SERIAL ) \
@ -1611,7 +1611,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|| defined(E2_HARDWARE_SERIAL) \
|| defined(E3_HARDWARE_SERIAL) \
|| defined(E4_HARDWARE_SERIAL) )
#error "TMC2208 Software Serial is supported only on AVR platforms."
#error "TMC2208 Software Serial is supported only on AVR and LPC1768 platforms."
#endif
#if ENABLED(SENSORLESS_HOMING)