mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-08 06:23:56 -06:00
🔧 Update BIQU BX SPI driver conditionals (#27886)
This commit is contained in:
parent
3f3c8257f7
commit
ebecd76492
2 changed files with 13 additions and 10 deletions
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue