🔧 Update BTT002 SPI driver conditionals (#27887)

Counterpart to #27886
This commit is contained in:
Keith Bennett 2025-05-27 10:58:49 -07:00 committed by GitHub
parent 3494482cb0
commit 843f79589c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,16 +108,19 @@
#endif
//
// SPI pins for TMC2130 stepper drivers
// SPI pins for TMC2130, TMC2160, TMC2240, TMC2660, TMC5130, or TMC5160 stepper drivers
//
#ifndef TMC_SPI_MOSI
#define TMC_SPI_MOSI PB15
#endif
#ifndef TMC_SPI_MISO
#define TMC_SPI_MISO PB14
#endif
#ifndef TMC_SPI_SCK
#define TMC_SPI_SCK PB13
#if HAS_TMC_SPI
#define TMC_USE_SW_SPI
#ifndef TMC_SPI_MOSI
#define TMC_SPI_MOSI PB15
#endif
#ifndef TMC_SPI_MISO
#define TMC_SPI_MISO PB14
#endif
#ifndef TMC_SPI_SCK
#define TMC_SPI_SCK PB13
#endif
#endif
#if HAS_TMC_UART