🔧 Update BIQU BX SPI driver conditionals (#27886)

This commit is contained in:
Keith Bennett 2025-05-26 20:51:41 -07:00 committed by GitHub
parent 3f3c8257f7
commit ebecd76492
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 10 deletions

View file

@ -3470,7 +3470,7 @@
*
* It is recommended to set HOMING_BUMP_MM to { 0, 0, 0 }.
*
* SPI_ENDSTOPS *** TMC2130/TMC5160 Only ***
* SPI_ENDSTOPS *** TMC2130, TMC2240, and TMC5160 Only ***
* Poll the driver through SPI to determine load when homing.
* Removes the need for a wire from DIAG1 to an endstop pin.
*

View file

@ -124,16 +124,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 PC6
#endif
#ifndef TMC_SPI_MISO
#define TMC_SPI_MISO PG3
#endif
#ifndef TMC_SPI_SCK
#define TMC_SPI_SCK PC7
#if HAS_TMC_SPI
#define TMC_USE_SW_SPI
#ifndef TMC_SPI_MOSI
#define TMC_SPI_MOSI PC6
#endif
#ifndef TMC_SPI_MISO
#define TMC_SPI_MISO PG3
#endif
#ifndef TMC_SPI_SCK
#define TMC_SPI_SCK PC7
#endif
#endif
#if HAS_TMC_UART