Improve TMC config organization, naming
This commit is contained in:
@ -943,21 +943,19 @@
|
||||
* You will need to import the TMC26XStepper library into the Arduino IDE for this
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1006,7 +1004,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1020,6 +1018,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1032,22 +1043,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1059,10 +1055,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1013,7 +1011,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1027,6 +1025,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1039,22 +1050,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1066,10 +1062,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
#define HAVE_TMCDRIVER
|
||||
#define HAVE_TMC26X
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
#define Z_IS_TMC
|
||||
#define Z2_IS_TMC
|
||||
#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
#define Z_IS_TMC26X
|
||||
#define Z2_IS_TMC26X
|
||||
#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1200 // in mA
|
||||
#define X_SENSE_RESISTOR 50 // in mOhms
|
||||
@ -1005,7 +1004,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1018,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1043,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1055,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1018,7 +1016,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1032,6 +1030,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1044,22 +1055,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1071,10 +1067,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1007,7 +1005,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1021,6 +1019,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1033,22 +1044,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1060,10 +1056,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1007,7 +1005,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1021,6 +1019,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1033,22 +1044,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1060,10 +1056,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1007,7 +1005,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1021,6 +1019,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1033,22 +1044,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1060,10 +1056,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1007,7 +1005,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1021,6 +1019,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1033,22 +1044,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1060,10 +1056,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1007,7 +1005,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1021,6 +1019,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1033,22 +1044,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1060,10 +1056,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1007,7 +1005,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1021,6 +1019,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1033,22 +1044,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1060,10 +1056,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1012,7 +1010,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1026,6 +1024,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1038,22 +1049,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1065,10 +1061,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1007,7 +1005,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1021,6 +1019,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1033,22 +1044,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1060,10 +1056,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1005,7 +1003,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1019,6 +1017,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1031,22 +1042,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1058,10 +1054,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#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
|
||||
* (https://github.com/trinamic/TMC26XStepper.git)
|
||||
*/
|
||||
//#define HAVE_TMCDRIVER
|
||||
|
||||
#if ENABLED(HAVE_TMCDRIVER)
|
||||
|
||||
//#define X_IS_TMC
|
||||
//#define X2_IS_TMC
|
||||
//#define Y_IS_TMC
|
||||
//#define Y2_IS_TMC
|
||||
//#define Z_IS_TMC
|
||||
//#define Z2_IS_TMC
|
||||
//#define E0_IS_TMC
|
||||
//#define E1_IS_TMC
|
||||
//#define E2_IS_TMC
|
||||
//#define E3_IS_TMC
|
||||
//#define E4_IS_TMC
|
||||
//#define HAVE_TMC26X
|
||||
#if ENABLED(HAVE_TMC26X) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC26X
|
||||
//#define X2_IS_TMC26X
|
||||
//#define Y_IS_TMC26X
|
||||
//#define Y2_IS_TMC26X
|
||||
//#define Z_IS_TMC26X
|
||||
//#define Z2_IS_TMC26X
|
||||
//#define E0_IS_TMC26X
|
||||
//#define E1_IS_TMC26X
|
||||
//#define E2_IS_TMC26X
|
||||
//#define E3_IS_TMC26X
|
||||
//#define E4_IS_TMC26X
|
||||
|
||||
#define X_MAX_CURRENT 1000 // in mA
|
||||
#define X_SENSE_RESISTOR 91 // in mOhms
|
||||
@ -1006,7 +1004,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
// @section TMC2130, TMC2208
|
||||
// @section tmc_smart
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2130 SPI-configurable stepper drivers.
|
||||
@ -1020,6 +1018,19 @@
|
||||
* You may also use software SPI if you wish to use general purpose IO pins.
|
||||
*/
|
||||
//#define HAVE_TMC2130
|
||||
#if ENABLED(HAVE_TMC2130) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2130
|
||||
//#define X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Enable this for SilentStepStick Trinamic TMC2208 UART-configurable stepper drivers.
|
||||
@ -1032,22 +1043,7 @@
|
||||
* (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 X2_IS_TMC2130
|
||||
//#define Y_IS_TMC2130
|
||||
//#define Y2_IS_TMC2130
|
||||
//#define Z_IS_TMC2130
|
||||
//#define Z2_IS_TMC2130
|
||||
//#define E0_IS_TMC2130
|
||||
//#define E1_IS_TMC2130
|
||||
//#define E2_IS_TMC2130
|
||||
//#define E3_IS_TMC2130
|
||||
//#define E4_IS_TMC2130
|
||||
|
||||
#if ENABLED(HAVE_TMC2208) // Choose your axes here. This is mandatory!
|
||||
//#define X_IS_TMC2208
|
||||
//#define X2_IS_TMC2208
|
||||
//#define Y_IS_TMC2208
|
||||
@ -1059,10 +1055,9 @@
|
||||
//#define E2_IS_TMC2208
|
||||
//#define E3_IS_TMC2208
|
||||
//#define E4_IS_TMC2208
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Stepper driver settings
|
||||
*/
|
||||
#if ENABLED(HAVE_TMC2130) || ENABLED(HAVE_TMC2208)
|
||||
|
||||
#define R_SENSE 0.11 // R_sense resistor for SilentStepStick2130
|
||||
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
|
||||
|
Reference in New Issue
Block a user