Compare commits

...

2 Commits

Author SHA1 Message Date
InsanityAutomation 2af4a5dd93 Update pins_RAMPS.h 2024-04-10 21:19:44 -04:00
InsanityAutomation 82c21461c4 Allows RAMPS to auto assign HW SPI Pins for TMC 2024-04-10 19:38:31 -04:00
+13 -1
View File
@@ -320,9 +320,10 @@
#endif #endif
// //
// TMC software SPI // TMC SPI
// //
#if HAS_TMC_SPI #if HAS_TMC_SPI
#if ENABLED(TMC_USE_SW_SPI)
#ifndef TMC_SPI_MOSI #ifndef TMC_SPI_MOSI
#define TMC_SPI_MOSI AUX2_09 #define TMC_SPI_MOSI AUX2_09
#endif #endif
@@ -332,6 +333,17 @@
#ifndef TMC_SPI_SCK #ifndef TMC_SPI_SCK
#define TMC_SPI_SCK AUX2_05 #define TMC_SPI_SCK AUX2_05
#endif #endif
#else
#ifndef TMC_SPI_MOSI
#define TMC_SPI_MOSI AUX3_04
#endif
#ifndef TMC_SPI_MISO
#define TMC_SPI_MISO AUX3_03
#endif
#ifndef TMC_SPI_SCK
#define TMC_SPI_SCK AUX3_05
#endif
#endif
#endif #endif
#if HAS_TMC_UART #if HAS_TMC_UART