Allow override of TMC_SW_* pins (#14528)

This commit is contained in:
Ludy
2019-07-07 04:25:48 +02:00
committed by Scott Lahteine
parent c1bb3278d4
commit 3a75342508
6 changed files with 54 additions and 18 deletions

View File

@@ -66,9 +66,15 @@
#define E0_ENABLE_PIN PC4
#if ENABLED(TMC_USE_SW_SPI)
#define TMC_SW_SCK PB3
#define TMC_SW_MISO PB4
#define TMC_SW_MOSI PB5
#ifndef TMC_SW_MOSI
#define TMC_SW_SCK PB3
#endif
#ifndef TMC_SW_MISO
#define TMC_SW_MISO PB4
#endif
#ifndef TMC_SW_SCK
#define TMC_SW_MOSI PB5
#endif
#endif
//