|
|
|
@ -999,9 +999,10 @@
|
|
|
|
|
* You'll also need the TMC2130Stepper Arduino library
|
|
|
|
|
* (https://github.com/teemuatlut/TMC2130Stepper).
|
|
|
|
|
*
|
|
|
|
|
* To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
|
|
|
|
|
* To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
|
|
|
|
|
* the hardware SPI interface on your board and define the required CS pins
|
|
|
|
|
* in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
|
|
|
|
|
* You may also use software SPI if you wish to use general purpose IO pins.
|
|
|
|
|
*/
|
|
|
|
|
//#define HAVE_TMC2130
|
|
|
|
|
|
|
|
|
@ -1085,6 +1086,16 @@
|
|
|
|
|
#define E4_CURRENT 800
|
|
|
|
|
#define E4_MICROSTEPS 16
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Use software SPI for TMC2130.
|
|
|
|
|
* The default SW SPI pins are defined the respective pins files,
|
|
|
|
|
* but you can override or define them here.
|
|
|
|
|
*/
|
|
|
|
|
//#define TMC_USE_SW_SPI
|
|
|
|
|
//#define TMC_SW_MOSI -1
|
|
|
|
|
//#define TMC_SW_MISO -1
|
|
|
|
|
//#define TMC_SW_SCK -1
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Use Trinamic's ultra quiet stepping mode.
|
|
|
|
|
* When disabled, Marlin will use spreadCycle stepping mode.
|
|
|
|
|