Add support for TMC2660 (#11998)

This commit is contained in:
teemuatlut
2018-10-07 01:18:10 +03:00
committed by Scott Lahteine
parent cf0b9eb37c
commit c447d75916
11 changed files with 278 additions and 62 deletions

View File

@@ -158,7 +158,9 @@ void tmc_set_sgt(TMC &st, const int8_t sgt_val) {
void monitor_tmc_driver();
#if ENABLED(TMC_DEBUG)
void tmc_set_report_status(const bool status);
#if ENABLED(MONITOR_DRIVER_STATUS)
void tmc_set_report_status(const bool status);
#endif
void tmc_report_all();
#endif
@@ -171,9 +173,10 @@ void monitor_tmc_driver();
*/
#if USE_SENSORLESS
void tmc_stallguard(TMC2130Stepper &st, const bool enable=true);
void tmc_stallguard(TMC2660Stepper &st, const bool enable=true);
#endif
#if HAS_DRIVER(TMC2130)
#if TMC_HAS_SPI
void tmc_init_cs_pins();
#endif