Merge pull request #10093 from thinkyhead/bf2_trinamic_config

[2.0.x] Clean up Trinamic config options, sanity check
2.0.x
Scott Lahteine 7 years ago committed by GitHub
commit f894209de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -944,21 +944,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1006,7 +1004,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1020,22 +1018,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1047,7 +1030,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1059,10 +1055,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -944,21 +944,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1006,7 +1004,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1020,22 +1018,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1047,7 +1030,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1059,10 +1055,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -951,21 +951,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1013,7 +1011,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1027,22 +1025,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1054,7 +1037,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1066,10 +1062,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,20 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
#define HAVE_TMCDRIVER #define HAVE_TMC26X
#if ENABLED(HAVE_TMCDRIVER) #if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#define X_IS_TMC26X
#define X_IS_TMC //#define X2_IS_TMC26X
//#define X2_IS_TMC #define Y_IS_TMC26X
#define Y_IS_TMC //#define Y2_IS_TMC26X
//#define Y2_IS_TMC #define Z_IS_TMC26X
#define Z_IS_TMC #define Z2_IS_TMC26X
#define Z2_IS_TMC #define E0_IS_TMC26X
#define E0_IS_TMC //#define E1_IS_TMC26X
//#define E1_IS_TMC //#define E2_IS_TMC26X
//#define E2_IS_TMC //#define E3_IS_TMC26X
//#define E3_IS_TMC //#define E4_IS_TMC26X
//#define E4_IS_TMC
#define X_MAX_CURRENT 1200 // in mA #define X_MAX_CURRENT 1200 // in mA
#define X_SENSE_RESISTOR 50 // in mOhms #define X_SENSE_RESISTOR 50 // in mOhms
@ -1005,7 +1004,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1018,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1030,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1055,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -956,21 +956,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1018,7 +1016,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1032,22 +1030,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1059,7 +1042,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1071,10 +1067,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -945,21 +945,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1007,7 +1005,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1021,22 +1019,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1048,7 +1031,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1060,10 +1056,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -945,21 +945,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1007,7 +1005,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1021,22 +1019,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1048,7 +1031,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1060,10 +1056,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -945,21 +945,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1007,7 +1005,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1021,22 +1019,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1048,7 +1031,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1060,10 +1056,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -945,21 +945,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1007,7 +1005,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1021,22 +1019,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1048,7 +1031,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1060,10 +1056,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -945,21 +945,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1007,7 +1005,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1021,22 +1019,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1048,7 +1031,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1060,10 +1056,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -945,21 +945,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1007,7 +1005,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1021,22 +1019,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1048,7 +1031,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1060,10 +1056,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -950,21 +950,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1012,7 +1010,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1026,22 +1024,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1053,7 +1036,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1065,10 +1061,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -945,21 +945,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1007,7 +1005,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1021,22 +1019,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1048,7 +1031,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1060,10 +1056,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -943,21 +943,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1005,7 +1003,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1019,22 +1017,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1046,7 +1029,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1058,10 +1054,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -944,21 +944,19 @@
* You will need to import the TMC26XStepper library into the Arduino IDE for this * You will need to import the TMC26XStepper library into the Arduino IDE for this
* (https://github.com/trinamic/TMC26XStepper.git) * (https://github.com/trinamic/TMC26XStepper.git)
*/ */
//#define HAVE_TMCDRIVER //#define HAVE_TMC26X
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
#if ENABLED(HAVE_TMCDRIVER) //#define X_IS_TMC26X
//#define X2_IS_TMC26X
//#define X_IS_TMC //#define Y_IS_TMC26X
//#define X2_IS_TMC //#define Y2_IS_TMC26X
//#define Y_IS_TMC //#define Z_IS_TMC26X
//#define Y2_IS_TMC //#define Z2_IS_TMC26X
//#define Z_IS_TMC //#define E0_IS_TMC26X
//#define Z2_IS_TMC //#define E1_IS_TMC26X
//#define E0_IS_TMC //#define E2_IS_TMC26X
//#define E1_IS_TMC //#define E3_IS_TMC26X
//#define E2_IS_TMC //#define E4_IS_TMC26X
//#define E3_IS_TMC
//#define E4_IS_TMC
#define X_MAX_CURRENT 1000 // in mA #define X_MAX_CURRENT 1000 // in mA
#define X_SENSE_RESISTOR 91 // in mOhms #define X_SENSE_RESISTOR 91 // in mOhms
@ -1006,7 +1004,7 @@
#endif #endif
// @section TMC2130, TMC2208 // @section tmc_smart
/** /**
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers. * Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
@ -1020,22 +1018,7 @@
* You may also use software SPI if you wish to use general purpose IO pins. * You may also use software SPI if you wish to use general purpose IO pins.
*/ */
//#define HAVE_TMC2130 //#define HAVE_TMC2130
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
// CHOOSE YOUR MOTORS HERE, THIS IS MANDATORY
//#define X_IS_TMC2130 //#define X_IS_TMC2130
//#define X2_IS_TMC2130 //#define X2_IS_TMC2130
//#define Y_IS_TMC2130 //#define Y_IS_TMC2130
@ -1047,7 +1030,20 @@
//#define E2_IS_TMC2130 //#define E2_IS_TMC2130
//#define E3_IS_TMC2130 //#define E3_IS_TMC2130
//#define E4_IS_TMC2130 //#define E4_IS_TMC2130
#endif
/**
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
* Connect #_SERIAL_TX_PIN to the driver side PDN_UART pin with a 1K resistor.
* To use the reading capabilities, also connect #_SERIAL_RX_PIN
* to PDN_UART without a resistor.
* The drivers can also be used with hardware serial.
*
* You'll also need the TMC2208Stepper Arduino library
* (https://github.com/teemuatlut/TMC2208Stepper).
*/
//#define HAVE_TMC2208
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
//#define X_IS_TMC2208 //#define X_IS_TMC2208
//#define X2_IS_TMC2208 //#define X2_IS_TMC2208
//#define Y_IS_TMC2208 //#define Y_IS_TMC2208
@ -1059,10 +1055,9 @@
//#define E2_IS_TMC2208 //#define E2_IS_TMC2208
//#define E3_IS_TMC2208 //#define E3_IS_TMC2208
//#define E4_IS_TMC2208 //#define E4_IS_TMC2208
#endif
/** #if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
* Stepper driver settings
*/
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130 #define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current #define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current

@ -23,9 +23,15 @@
#ifndef _TMC_UTIL_H_ #ifndef _TMC_UTIL_H_
#define _TMC_UTIL_H_ #define _TMC_UTIL_H_
#include <TMC2130Stepper.h> #include "../inc/MarlinConfigPre.h"
#include "../inc/MarlinConfig.h" #if ENABLED(HAVE_TMC2130)
#include <TMC2130Stepper.h>
#endif
#if ENABLED(HAVE_TMC2208)
#include <TMC2208Stepper.h>
#endif
extern bool report_tmc_status; extern bool report_tmc_status;

@ -247,6 +247,11 @@
#error "LCD_I2C_SAINSMART_YWROBOT is now LCD_SAINSMART_I2C_(1602|2004). Please update your configuration." #error "LCD_I2C_SAINSMART_YWROBOT is now LCD_SAINSMART_I2C_(1602|2004). Please update your configuration."
#elif defined(MEASURED_LOWER_LIMIT) || defined(MEASURED_UPPER_LIMIT) #elif defined(MEASURED_LOWER_LIMIT) || defined(MEASURED_UPPER_LIMIT)
#error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN. Please update your configuration." #error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN. Please update your configuration."
#elif defined(HAVE_TMCDRIVER)
#error "HAVE_TMCDRIVER is now HAVE_TMC26X. Please update your Configuration_adv.h."
#elif defined(X_IS_TMC) || defined(X2_IS_TMC) || defined(Y_IS_TMC) || defined(Y2_IS_TMC) || defined(Z_IS_TMC) || defined(Z2_IS_TMC) \
|| defined(E0_IS_TMC) || defined(E1_IS_TMC) || defined(E2_IS_TMC) || defined(E3_IS_TMC) || defined(E4_IS_TMC)
#error "[AXIS]_IS_TMC is now [AXIS]_IS_TMC26X. Please update your Configuration_adv.h."
#elif defined(AUTOMATIC_CURRENT_CONTROL) #elif defined(AUTOMATIC_CURRENT_CONTROL)
#error "AUTOMATIC_CURRENT_CONTROL is now MONITOR_DRIVER_STATUS. Please update your configuration." #error "AUTOMATIC_CURRENT_CONTROL is now MONITOR_DRIVER_STATUS. Please update your configuration."
#endif #endif
@ -1497,22 +1502,22 @@ static_assert(1 >= 0
); );
/** /**
* Make sure HAVE_TMCDRIVER is warranted * Make sure HAVE_TMC26X is warranted
*/ */
#if ENABLED(HAVE_TMCDRIVER) && !( \ #if ENABLED(HAVE_TMC26X) && !( \
ENABLED( X_IS_TMC ) \ ENABLED( X_IS_TMC26X ) \
|| ENABLED( X2_IS_TMC ) \ || ENABLED( X2_IS_TMC26X ) \
|| ENABLED( Y_IS_TMC ) \ || ENABLED( Y_IS_TMC26X ) \
|| ENABLED( Y2_IS_TMC ) \ || ENABLED( Y2_IS_TMC26X ) \
|| ENABLED( Z_IS_TMC ) \ || ENABLED( Z_IS_TMC26X ) \
|| ENABLED( Z2_IS_TMC ) \ || ENABLED( Z2_IS_TMC26X ) \
|| ENABLED( E0_IS_TMC ) \ || ENABLED( E0_IS_TMC26X ) \
|| ENABLED( E1_IS_TMC ) \ || ENABLED( E1_IS_TMC26X ) \
|| ENABLED( E2_IS_TMC ) \ || ENABLED( E2_IS_TMC26X ) \
|| ENABLED( E3_IS_TMC ) \ || ENABLED( E3_IS_TMC26X ) \
|| ENABLED( E4_IS_TMC ) \ || ENABLED( E4_IS_TMC26X ) \
) )
#error "HAVE_TMCDRIVER requires at least one TMC stepper to be set." #error "HAVE_TMC26X requires at least one TMC26X stepper to be set."
#endif #endif
/** /**
@ -1626,6 +1631,175 @@ static_assert(1 >= 0
#error "HAVE_L6470DRIVER requires at least one L6470 stepper to be set." #error "HAVE_L6470DRIVER requires at least one L6470 stepper to be set."
#endif #endif
/**
* Check that each axis has only one driver selected
*/
static_assert(1 >= 0
#if ENABLED(X_IS_TMC26X)
+ 1
#endif
#if ENABLED(X_IS_TMC2130)
+ 1
#endif
#if ENABLED(X_IS_TMC2208)
+ 1
#endif
#if ENABLED(X_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the X axis."
);
static_assert(1 >= 0
#if ENABLED(X2_IS_TMC26X)
+ 1
#endif
#if ENABLED(X2_IS_TMC2130)
+ 1
#endif
#if ENABLED(X2_IS_TMC2208)
+ 1
#endif
#if ENABLED(X2_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the X2 axis."
);
static_assert(1 >= 0
#if ENABLED(Y_IS_TMC26X)
+ 1
#endif
#if ENABLED(Y_IS_TMC2130)
+ 1
#endif
#if ENABLED(Y_IS_TMC2208)
+ 1
#endif
#if ENABLED(Y_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the Y axis."
);
static_assert(1 >= 0
#if ENABLED(Y2_IS_TMC26X)
+ 1
#endif
#if ENABLED(Y2_IS_TMC2130)
+ 1
#endif
#if ENABLED(Y2_IS_TMC2208)
+ 1
#endif
#if ENABLED(Y2_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the Y2 axis."
);
static_assert(1 >= 0
#if ENABLED(Z_IS_TMC26X)
+ 1
#endif
#if ENABLED(Z_IS_TMC2130)
+ 1
#endif
#if ENABLED(Z_IS_TMC2208)
+ 1
#endif
#if ENABLED(Z_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the Z axis."
);
static_assert(1 >= 0
#if ENABLED(Z2_IS_TMC26X)
+ 1
#endif
#if ENABLED(Z2_IS_TMC2130)
+ 1
#endif
#if ENABLED(Z2_IS_TMC2208)
+ 1
#endif
#if ENABLED(Z2_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the Z2 axis."
);
static_assert(1 >= 0
#if ENABLED(E0_IS_TMC26X)
+ 1
#endif
#if ENABLED(E0_IS_TMC2130)
+ 1
#endif
#if ENABLED(E0_IS_TMC2208)
+ 1
#endif
#if ENABLED(E0_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the E0 axis."
);
static_assert(1 >= 0
#if ENABLED(E1_IS_TMC26X)
+ 1
#endif
#if ENABLED(E1_IS_TMC2130)
+ 1
#endif
#if ENABLED(E1_IS_TMC2208)
+ 1
#endif
#if ENABLED(E1_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the E1 axis."
);
static_assert(1 >= 0
#if ENABLED(E2_IS_TMC26X)
+ 1
#endif
#if ENABLED(E2_IS_TMC2130)
+ 1
#endif
#if ENABLED(E2_IS_TMC2208)
+ 1
#endif
#if ENABLED(E2_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the E2 axis."
);
static_assert(1 >= 0
#if ENABLED(E3_IS_TMC26X)
+ 1
#endif
#if ENABLED(E3_IS_TMC2130)
+ 1
#endif
#if ENABLED(E3_IS_TMC2208)
+ 1
#endif
#if ENABLED(E3_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the E3 axis."
);
static_assert(1 >= 0
#if ENABLED(E4_IS_TMC26X)
+ 1
#endif
#if ENABLED(E4_IS_TMC2130)
+ 1
#endif
#if ENABLED(E4_IS_TMC2208)
+ 1
#endif
#if ENABLED(E4_IS_L6470)
+ 1
#endif
, "Please enable only one stepper driver for the E4 axis."
);
/** /**
* Digipot requirement * Digipot requirement
*/ */

@ -922,8 +922,8 @@ void Stepper::init() {
#endif #endif
// Init TMC Steppers // Init TMC Steppers
#if ENABLED(HAVE_TMCDRIVER) #if ENABLED(HAVE_TMC26X)
tmc_init(); tmc26x_init();
#endif #endif
// Init TMC2130 Steppers // Init TMC2130 Steppers

@ -38,8 +38,7 @@
// //
// TMC26X Driver objects and inits // TMC26X Driver objects and inits
// //
#if ENABLED(HAVE_TMCDRIVER) #if ENABLED(HAVE_TMC26X)
#include <SPI.h> #include <SPI.h>
#ifdef STM32F7 #ifdef STM32F7
@ -50,37 +49,37 @@
#define _TMC_DEFINE(ST) TMC26XStepper stepper##ST(200, ST##_ENABLE_PIN, ST##_STEP_PIN, ST##_DIR_PIN, ST##_MAX_CURRENT, ST##_SENSE_RESISTOR) #define _TMC_DEFINE(ST) TMC26XStepper stepper##ST(200, ST##_ENABLE_PIN, ST##_STEP_PIN, ST##_DIR_PIN, ST##_MAX_CURRENT, ST##_SENSE_RESISTOR)
#if ENABLED(X_IS_TMC) #if ENABLED(X_IS_TMC26X)
_TMC_DEFINE(X); _TMC_DEFINE(X);
#endif #endif
#if ENABLED(X2_IS_TMC) #if ENABLED(X2_IS_TMC26X)
_TMC_DEFINE(X2); _TMC_DEFINE(X2);
#endif #endif
#if ENABLED(Y_IS_TMC) #if ENABLED(Y_IS_TMC26X)
_TMC_DEFINE(Y); _TMC_DEFINE(Y);
#endif #endif
#if ENABLED(Y2_IS_TMC) #if ENABLED(Y2_IS_TMC26X)
_TMC_DEFINE(Y2); _TMC_DEFINE(Y2);
#endif #endif
#if ENABLED(Z_IS_TMC) #if ENABLED(Z_IS_TMC26X)
_TMC_DEFINE(Z); _TMC_DEFINE(Z);
#endif #endif
#if ENABLED(Z2_IS_TMC) #if ENABLED(Z2_IS_TMC26X)
_TMC_DEFINE(Z2); _TMC_DEFINE(Z2);
#endif #endif
#if ENABLED(E0_IS_TMC) #if ENABLED(E0_IS_TMC26X)
_TMC_DEFINE(E0); _TMC_DEFINE(E0);
#endif #endif
#if ENABLED(E1_IS_TMC) #if ENABLED(E1_IS_TMC26X)
_TMC_DEFINE(E1); _TMC_DEFINE(E1);
#endif #endif
#if ENABLED(E2_IS_TMC) #if ENABLED(E2_IS_TMC26X)
_TMC_DEFINE(E2); _TMC_DEFINE(E2);
#endif #endif
#if ENABLED(E3_IS_TMC) #if ENABLED(E3_IS_TMC26X)
_TMC_DEFINE(E3); _TMC_DEFINE(E3);
#endif #endif
#if ENABLED(E4_IS_TMC) #if ENABLED(E4_IS_TMC26X)
_TMC_DEFINE(E4); _TMC_DEFINE(E4);
#endif #endif
@ -89,43 +88,43 @@
stepper##A.start(); \ stepper##A.start(); \
}while(0) }while(0)
void tmc_init() { void tmc26x_init() {
#if ENABLED(X_IS_TMC) #if ENABLED(X_IS_TMC26X)
_TMC_INIT(X); _TMC_INIT(X);
#endif #endif
#if ENABLED(X2_IS_TMC) #if ENABLED(X2_IS_TMC26X)
_TMC_INIT(X2); _TMC_INIT(X2);
#endif #endif
#if ENABLED(Y_IS_TMC) #if ENABLED(Y_IS_TMC26X)
_TMC_INIT(Y); _TMC_INIT(Y);
#endif #endif
#if ENABLED(Y2_IS_TMC) #if ENABLED(Y2_IS_TMC26X)
_TMC_INIT(Y2); _TMC_INIT(Y2);
#endif #endif
#if ENABLED(Z_IS_TMC) #if ENABLED(Z_IS_TMC26X)
_TMC_INIT(Z); _TMC_INIT(Z);
#endif #endif
#if ENABLED(Z2_IS_TMC) #if ENABLED(Z2_IS_TMC26X)
_TMC_INIT(Z2); _TMC_INIT(Z2);
#endif #endif
#if ENABLED(E0_IS_TMC) #if ENABLED(E0_IS_TMC26X)
_TMC_INIT(E0); _TMC_INIT(E0);
#endif #endif
#if ENABLED(E1_IS_TMC) #if ENABLED(E1_IS_TMC26X)
_TMC_INIT(E1); _TMC_INIT(E1);
#endif #endif
#if ENABLED(E2_IS_TMC) #if ENABLED(E2_IS_TMC26X)
_TMC_INIT(E2); _TMC_INIT(E2);
#endif #endif
#if ENABLED(E3_IS_TMC) #if ENABLED(E3_IS_TMC26X)
_TMC_INIT(E3); _TMC_INIT(E3);
#endif #endif
#if ENABLED(E4_IS_TMC) #if ENABLED(E4_IS_TMC26X)
_TMC_INIT(E4); _TMC_INIT(E4);
#endif #endif
} }
#endif // HAVE_TMCDRIVER #endif // HAVE_TMC26X
// //
// TMC2130 Driver objects and inits // TMC2130 Driver objects and inits

@ -47,14 +47,14 @@
#include "../inc/MarlinConfig.h" #include "../inc/MarlinConfig.h"
// TMC26X drivers have STEP/DIR on normal pins, but ENABLE via SPI // TMC26X drivers have STEP/DIR on normal pins, but ENABLE via SPI
#if ENABLED(HAVE_TMCDRIVER) #if ENABLED(HAVE_TMC26X)
#include <SPI.h> #include <SPI.h>
#ifdef STM32F7 #ifdef STM32F7
#include "../HAL/HAL_STM32F7/TMC2660.h" #include "../HAL/HAL_STM32F7/TMC2660.h"
#else #else
#include <TMC26XStepper.h> #include <TMC26XStepper.h>
#endif #endif
void tmc_init(); void tmc26x_init();
#endif #endif
#if ENABLED(HAVE_TMC2130) #if ENABLED(HAVE_TMC2130)
@ -85,7 +85,7 @@
#define X_DIR_WRITE(STATE) stepperX.Step_Clock(STATE) #define X_DIR_WRITE(STATE) stepperX.Step_Clock(STATE)
#define X_DIR_READ (stepperX.getStatus() & STATUS_DIR) #define X_DIR_READ (stepperX.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(X_IS_TMC) #if ENABLED(X_IS_TMC26X)
extern TMC26XStepper stepperX; extern TMC26XStepper stepperX;
#define X_ENABLE_INIT NOOP #define X_ENABLE_INIT NOOP
#define X_ENABLE_WRITE(STATE) stepperX.setEnabled(STATE) #define X_ENABLE_WRITE(STATE) stepperX.setEnabled(STATE)
@ -118,7 +118,7 @@
#define Y_DIR_WRITE(STATE) stepperY.Step_Clock(STATE) #define Y_DIR_WRITE(STATE) stepperY.Step_Clock(STATE)
#define Y_DIR_READ (stepperY.getStatus() & STATUS_DIR) #define Y_DIR_READ (stepperY.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(Y_IS_TMC) #if ENABLED(Y_IS_TMC26X)
extern TMC26XStepper stepperY; extern TMC26XStepper stepperY;
#define Y_ENABLE_INIT NOOP #define Y_ENABLE_INIT NOOP
#define Y_ENABLE_WRITE(STATE) stepperY.setEnabled(STATE) #define Y_ENABLE_WRITE(STATE) stepperY.setEnabled(STATE)
@ -151,7 +151,7 @@
#define Z_DIR_WRITE(STATE) stepperZ.Step_Clock(STATE) #define Z_DIR_WRITE(STATE) stepperZ.Step_Clock(STATE)
#define Z_DIR_READ (stepperZ.getStatus() & STATUS_DIR) #define Z_DIR_READ (stepperZ.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(Z_IS_TMC) #if ENABLED(Z_IS_TMC26X)
extern TMC26XStepper stepperZ; extern TMC26XStepper stepperZ;
#define Z_ENABLE_INIT NOOP #define Z_ENABLE_INIT NOOP
#define Z_ENABLE_WRITE(STATE) stepperZ.setEnabled(STATE) #define Z_ENABLE_WRITE(STATE) stepperZ.setEnabled(STATE)
@ -185,7 +185,7 @@
#define X2_DIR_WRITE(STATE) stepperX2.Step_Clock(STATE) #define X2_DIR_WRITE(STATE) stepperX2.Step_Clock(STATE)
#define X2_DIR_READ (stepperX2.getStatus() & STATUS_DIR) #define X2_DIR_READ (stepperX2.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(X2_IS_TMC) #if ENABLED(X2_IS_TMC26X)
extern TMC26XStepper stepperX2; extern TMC26XStepper stepperX2;
#define X2_ENABLE_INIT NOOP #define X2_ENABLE_INIT NOOP
#define X2_ENABLE_WRITE(STATE) stepperX2.setEnabled(STATE) #define X2_ENABLE_WRITE(STATE) stepperX2.setEnabled(STATE)
@ -220,7 +220,7 @@
#define Y2_DIR_WRITE(STATE) stepperY2.Step_Clock(STATE) #define Y2_DIR_WRITE(STATE) stepperY2.Step_Clock(STATE)
#define Y2_DIR_READ (stepperY2.getStatus() & STATUS_DIR) #define Y2_DIR_READ (stepperY2.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(Y2_IS_TMC) #if ENABLED(Y2_IS_TMC26X)
extern TMC26XStepper stepperY2; extern TMC26XStepper stepperY2;
#define Y2_ENABLE_INIT NOOP #define Y2_ENABLE_INIT NOOP
#define Y2_ENABLE_WRITE(STATE) stepperY2.setEnabled(STATE) #define Y2_ENABLE_WRITE(STATE) stepperY2.setEnabled(STATE)
@ -255,7 +255,7 @@
#define Z2_DIR_WRITE(STATE) stepperZ2.Step_Clock(STATE) #define Z2_DIR_WRITE(STATE) stepperZ2.Step_Clock(STATE)
#define Z2_DIR_READ (stepperZ2.getStatus() & STATUS_DIR) #define Z2_DIR_READ (stepperZ2.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(Z2_IS_TMC) #if ENABLED(Z2_IS_TMC26X)
extern TMC26XStepper stepperZ2; extern TMC26XStepper stepperZ2;
#define Z2_ENABLE_INIT NOOP #define Z2_ENABLE_INIT NOOP
#define Z2_ENABLE_WRITE(STATE) stepperZ2.setEnabled(STATE) #define Z2_ENABLE_WRITE(STATE) stepperZ2.setEnabled(STATE)
@ -289,7 +289,7 @@
#define E0_DIR_WRITE(STATE) stepperE0.Step_Clock(STATE) #define E0_DIR_WRITE(STATE) stepperE0.Step_Clock(STATE)
#define E0_DIR_READ (stepperE0.getStatus() & STATUS_DIR) #define E0_DIR_READ (stepperE0.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(E0_IS_TMC) #if ENABLED(E0_IS_TMC26X)
extern TMC26XStepper stepperE0; extern TMC26XStepper stepperE0;
#define E0_ENABLE_INIT NOOP #define E0_ENABLE_INIT NOOP
#define E0_ENABLE_WRITE(STATE) stepperE0.setEnabled(STATE) #define E0_ENABLE_WRITE(STATE) stepperE0.setEnabled(STATE)
@ -322,7 +322,7 @@
#define E1_DIR_WRITE(STATE) stepperE1.Step_Clock(STATE) #define E1_DIR_WRITE(STATE) stepperE1.Step_Clock(STATE)
#define E1_DIR_READ (stepperE1.getStatus() & STATUS_DIR) #define E1_DIR_READ (stepperE1.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(E1_IS_TMC) #if ENABLED(E1_IS_TMC26X)
extern TMC26XStepper stepperE1; extern TMC26XStepper stepperE1;
#define E1_ENABLE_INIT NOOP #define E1_ENABLE_INIT NOOP
#define E1_ENABLE_WRITE(STATE) stepperE1.setEnabled(STATE) #define E1_ENABLE_WRITE(STATE) stepperE1.setEnabled(STATE)
@ -355,7 +355,7 @@
#define E2_DIR_WRITE(STATE) stepperE2.Step_Clock(STATE) #define E2_DIR_WRITE(STATE) stepperE2.Step_Clock(STATE)
#define E2_DIR_READ (stepperE2.getStatus() & STATUS_DIR) #define E2_DIR_READ (stepperE2.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(E2_IS_TMC) #if ENABLED(E2_IS_TMC26X)
extern TMC26XStepper stepperE2; extern TMC26XStepper stepperE2;
#define E2_ENABLE_INIT NOOP #define E2_ENABLE_INIT NOOP
#define E2_ENABLE_WRITE(STATE) stepperE2.setEnabled(STATE) #define E2_ENABLE_WRITE(STATE) stepperE2.setEnabled(STATE)
@ -388,7 +388,7 @@
#define E3_DIR_WRITE(STATE) stepperE3.Step_Clock(STATE) #define E3_DIR_WRITE(STATE) stepperE3.Step_Clock(STATE)
#define E3_DIR_READ (stepperE3.getStatus() & STATUS_DIR) #define E3_DIR_READ (stepperE3.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(E3_IS_TMC) #if ENABLED(E3_IS_TMC26X)
extern TMC26XStepper stepperE3; extern TMC26XStepper stepperE3;
#define E3_ENABLE_INIT NOOP #define E3_ENABLE_INIT NOOP
#define E3_ENABLE_WRITE(STATE) stepperE3.setEnabled(STATE) #define E3_ENABLE_WRITE(STATE) stepperE3.setEnabled(STATE)
@ -421,7 +421,7 @@
#define E4_DIR_WRITE(STATE) stepperE4.Step_Clock(STATE) #define E4_DIR_WRITE(STATE) stepperE4.Step_Clock(STATE)
#define E4_DIR_READ (stepperE4.getStatus() & STATUS_DIR) #define E4_DIR_READ (stepperE4.getStatus() & STATUS_DIR)
#else #else
#if ENABLED(HAVE_TMCDRIVER) && ENABLED(E4_IS_TMC) #if ENABLED(E4_IS_TMC26X)
extern TMC26XStepper stepperE4; extern TMC26XStepper stepperE4;
#define E4_ENABLE_INIT NOOP #define E4_ENABLE_INIT NOOP
#define E4_ENABLE_WRITE(STATE) stepperE4.setEnabled(STATE) #define E4_ENABLE_WRITE(STATE) stepperE4.setEnabled(STATE)

Loading…
Cancel
Save