Skip to content

Commit d0425ea

Browse files
committed
🔥 Drop TMC26X support
MarlinFirmware/Marlin#26770
1 parent c771a54 commit d0425ea

File tree

368 files changed

+1104
-2208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

368 files changed

+1104
-2208
lines changed

‎config/default/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

‎config/examples/3DFabXYZ/Migbot/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

‎config/examples/3DMatik/XL/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

‎config/examples/ADIMLab/Gantry v1/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

‎config/examples/ADIMLab/Gantry v2/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

‎config/examples/Alfawise/U20-bltouch/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2980,15 +2980,12 @@
29802980
* Some boards have simple jumper connections! See your board's documentation.
29812981
* - These drivers can also be used with Hardware Serial.
29822982
*
2983-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2984-
* https://github.com/MarlinFirmware/TMC26XStepper
2985-
*
29862983
* The TMCStepper library is required for other TMC stepper drivers.
29872984
* https://github.com/teemuatlut/TMCStepper
29882985
*
29892986
* @section tmc/config
29902987
*/
2991-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2988+
#if HAS_TRINAMIC_CONFIG
29922989

29932990
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29942991

@@ -3002,7 +2999,7 @@
30022999
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
30033000
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
30043001
#define X_MICROSTEPS 16 // 0..256
3005-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
3002+
#define X_RSENSE 0.11
30063003
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
30073004
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
30083005
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3502,7 +3499,7 @@
35023499
*/
35033500
#define TMC_ADV() { }
35043501

3505-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3502+
#endif // HAS_TRINAMIC_CONFIG
35063503

35073504
// @section i2cbus
35083505

‎config/examples/Alfawise/U20/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2971,15 +2971,12 @@
29712971
* Some boards have simple jumper connections! See your board's documentation.
29722972
* - These drivers can also be used with Hardware Serial.
29732973
*
2974-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2975-
* https://github.com/MarlinFirmware/TMC26XStepper
2976-
*
29772974
* The TMCStepper library is required for other TMC stepper drivers.
29782975
* https://github.com/teemuatlut/TMCStepper
29792976
*
29802977
* @section tmc/config
29812978
*/
2982-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2979+
#if HAS_TRINAMIC_CONFIG
29832980

29842981
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29852982

@@ -2993,7 +2990,7 @@
29932990
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29942991
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29952992
#define X_MICROSTEPS 16 // 0..256
2996-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2993+
#define X_RSENSE 0.11
29972994
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29982995
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29992996
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3493,7 +3490,7 @@
34933490
*/
34943491
#define TMC_ADV() { }
34953492

3496-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3493+
#endif // HAS_TRINAMIC_CONFIG
34973494

34983495
// @section i2cbus
34993496

‎config/examples/AliExpress/CL-260/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

‎config/examples/AliExpress/UM2pExt/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2972,15 +2972,12 @@
29722972
* Some boards have simple jumper connections! See your board's documentation.
29732973
* - These drivers can also be used with Hardware Serial.
29742974
*
2975-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2976-
* https://github.com/MarlinFirmware/TMC26XStepper
2977-
*
29782975
* The TMCStepper library is required for other TMC stepper drivers.
29792976
* https://github.com/teemuatlut/TMCStepper
29802977
*
29812978
* @section tmc/config
29822979
*/
2983-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2980+
#if HAS_TRINAMIC_CONFIG
29842981

29852982
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29862983

@@ -2994,7 +2991,7 @@
29942991
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29952992
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29962993
#define X_MICROSTEPS 16 // 0..256
2997-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2994+
#define X_RSENSE 0.11
29982995
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29992996
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
30002997
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3494,7 +3491,7 @@
34943491
*/
34953492
#define TMC_ADV() { }
34963493

3497-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3494+
#endif // HAS_TRINAMIC_CONFIG
34983495

34993496
// @section i2cbus
35003497

‎config/examples/Anet/A2/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

‎config/examples/Anet/A2plus/Configuration_adv.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -2970,15 +2970,12 @@
29702970
* Some boards have simple jumper connections! See your board's documentation.
29712971
* - These drivers can also be used with Hardware Serial.
29722972
*
2973-
* The TMC26XStepper library is required for TMC26X stepper drivers.
2974-
* https://github.com/MarlinFirmware/TMC26XStepper
2975-
*
29762973
* The TMCStepper library is required for other TMC stepper drivers.
29772974
* https://github.com/teemuatlut/TMCStepper
29782975
*
29792976
* @section tmc/config
29802977
*/
2981-
#if HAS_TRINAMIC_CONFIG || HAS_TMC26X
2978+
#if HAS_TRINAMIC_CONFIG
29822979

29832980
#define HOLD_MULTIPLIER 0.5 // Scales down the holding current from run current
29842981

@@ -2992,7 +2989,7 @@
29922989
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
29932990
#define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.)
29942991
#define X_MICROSTEPS 16 // 0..256
2995-
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
2992+
#define X_RSENSE 0.11
29962993
#define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
29972994
//#define X_INTERPOLATE true // Enable to override 'INTERPOLATE' for the X axis
29982995
//#define X_HOLD_MULTIPLIER 0.5 // Enable to override 'HOLD_MULTIPLIER' for the X axis
@@ -3492,7 +3489,7 @@
34923489
*/
34933490
#define TMC_ADV() { }
34943491

3495-
#endif // HAS_TRINAMIC_CONFIG || HAS_TMC26X
3492+
#endif // HAS_TRINAMIC_CONFIG
34963493

34973494
// @section i2cbus
34983495

0 commit comments

Comments
 (0)