Skip to content
17 changes: 17 additions & 0 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,23 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

/**
* Custom Microstepping PIN settings
* Allows additional flexibility to defined the proper PIN settings for different
* stepper drivers. Defaults are normally applied in Conditional_post.h
* Uncomment MICROSTEP_CUSTOM to enable manual definition and ensure all microstep modes selected below
* are defined. At max, 3 MS PINS are supported, if less are defined, the last settings are ignoreds
*/
//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/default/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 4, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Anet/A6/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Anet/A8/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Cartesio/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/Felix/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
*/
//#define ADAPTIVE_STEP_SMOOTHING

//#define MICROSTEP_CUSTOM
#if ENABLED(MICROSTEP_CUSTOM)
#define MICROSTEP1 LOW,LOW,LOW
#define MICROSTEP2 HIGH,LOW,LOW
#define MICROSTEP4 LOW,HIGH,LOW
#define MICROSTEP8 HIGH,HIGH,LOW
#define MICROSTEP16 LOW,LOW,HIGH
#define MICROSTEP32 HIGH,LOW,HIGH
#endif

// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
#define MICROSTEP_MODES { 16, 16, 16, 16, 16 } // [1,2,4,8,16]

Expand Down
Loading