Update more configs

This commit is contained in:
Scott Lahteine 2020-01-14 15:31:15 -06:00
parent 8e1a21cf53
commit ea7363a8f4
3 changed files with 27 additions and 27 deletions

View File

@ -660,7 +660,7 @@
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE, * TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE, * TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE,
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE * TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'powerSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE'] * :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'POWERSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
*/ */
//#define X_DRIVER_TYPE A4988 //#define X_DRIVER_TYPE A4988
//#define Y_DRIVER_TYPE A4988 //#define Y_DRIVER_TYPE A4988

View File

@ -2247,7 +2247,7 @@
// POWERSTEP01: VALID: 200 x (1 - 32) - 6.4A max - rounds down // POWERSTEP01: VALID: 200 x (1 - 32) - 6.4A max - rounds down
// L6474 - STALLCURRENT setting is used to set the nominal (TVAL) current // L6474 - STALLCURRENT setting is used to set the nominal (TVAL) current
#define X_MAX_VOLTAGE 127 // 0-255, Maximum effective voltage seen by stepper - not used by L6474 #define X_MAX_VOLTAGE 127 // 0-255, Maximum effective voltage seen by stepper - not used by L6474
#define X_CHAIN_POS 0 // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI #define X_CHAIN_POS -1 // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
#define X_SLEW_RATE 1 // 0-3, Slew 0 is slowest, 3 is fastest #define X_SLEW_RATE 1 // 0-3, Slew 0 is slowest, 3 is fastest
#endif #endif
@ -2256,7 +2256,7 @@
#define X2_OVERCURRENT 2000 #define X2_OVERCURRENT 2000
#define X2_STALLCURRENT 1500 #define X2_STALLCURRENT 1500
#define X2_MAX_VOLTAGE 127 #define X2_MAX_VOLTAGE 127
#define X2_CHAIN_POS 0 #define X2_CHAIN_POS -1
#define X2_SLEW_RATE 1 #define X2_SLEW_RATE 1
#endif #endif
@ -2265,7 +2265,7 @@
#define Y_OVERCURRENT 2000 #define Y_OVERCURRENT 2000
#define Y_STALLCURRENT 1500 #define Y_STALLCURRENT 1500
#define Y_MAX_VOLTAGE 127 #define Y_MAX_VOLTAGE 127
#define Y_CHAIN_POS 0 #define Y_CHAIN_POS -1
#define Y_SLEW_RATE 1 #define Y_SLEW_RATE 1
#endif #endif
@ -2274,7 +2274,7 @@
#define Y2_OVERCURRENT 2000 #define Y2_OVERCURRENT 2000
#define Y2_STALLCURRENT 1500 #define Y2_STALLCURRENT 1500
#define Y2_MAX_VOLTAGE 127 #define Y2_MAX_VOLTAGE 127
#define Y2_CHAIN_POS 0 #define Y2_CHAIN_POS -1
#define Y2_SLEW_RATE 1 #define Y2_SLEW_RATE 1
#endif #endif
@ -2283,7 +2283,7 @@
#define Z_OVERCURRENT 2000 #define Z_OVERCURRENT 2000
#define Z_STALLCURRENT 1500 #define Z_STALLCURRENT 1500
#define Z_MAX_VOLTAGE 127 #define Z_MAX_VOLTAGE 127
#define Z_CHAIN_POS 0 #define Z_CHAIN_POS -1
#define Z_SLEW_RATE 1 #define Z_SLEW_RATE 1
#endif #endif
@ -2292,7 +2292,7 @@
#define Z2_OVERCURRENT 2000 #define Z2_OVERCURRENT 2000
#define Z2_STALLCURRENT 1500 #define Z2_STALLCURRENT 1500
#define Z2_MAX_VOLTAGE 127 #define Z2_MAX_VOLTAGE 127
#define Z2_CHAIN_POS 0 #define Z2_CHAIN_POS -1
#define Z2_SLEW_RATE 1 #define Z2_SLEW_RATE 1
#endif #endif
@ -2301,7 +2301,7 @@
#define Z3_OVERCURRENT 2000 #define Z3_OVERCURRENT 2000
#define Z3_STALLCURRENT 1500 #define Z3_STALLCURRENT 1500
#define Z3_MAX_VOLTAGE 127 #define Z3_MAX_VOLTAGE 127
#define Z3_CHAIN_POS 0 #define Z3_CHAIN_POS -1
#define Z3_SLEW_RATE 1 #define Z3_SLEW_RATE 1
#endif #endif
@ -2310,7 +2310,7 @@
#define E0_OVERCURRENT 2000 #define E0_OVERCURRENT 2000
#define E0_STALLCURRENT 1500 #define E0_STALLCURRENT 1500
#define E0_MAX_VOLTAGE 127 #define E0_MAX_VOLTAGE 127
#define E0_CHAIN_POS 0 #define E0_CHAIN_POS -1
#define E0_SLEW_RATE 1 #define E0_SLEW_RATE 1
#endif #endif
@ -2319,7 +2319,7 @@
#define E1_OVERCURRENT 2000 #define E1_OVERCURRENT 2000
#define E1_STALLCURRENT 1500 #define E1_STALLCURRENT 1500
#define E1_MAX_VOLTAGE 127 #define E1_MAX_VOLTAGE 127
#define E1_CHAIN_POS 0 #define E1_CHAIN_POS -1
#define E1_SLEW_RATE 1 #define E1_SLEW_RATE 1
#endif #endif
@ -2328,7 +2328,7 @@
#define E2_OVERCURRENT 2000 #define E2_OVERCURRENT 2000
#define E2_STALLCURRENT 1500 #define E2_STALLCURRENT 1500
#define E2_MAX_VOLTAGE 127 #define E2_MAX_VOLTAGE 127
#define E2_CHAIN_POS 0 #define E2_CHAIN_POS -1
#define E2_SLEW_RATE 1 #define E2_SLEW_RATE 1
#endif #endif
@ -2337,7 +2337,7 @@
#define E3_OVERCURRENT 2000 #define E3_OVERCURRENT 2000
#define E3_STALLCURRENT 1500 #define E3_STALLCURRENT 1500
#define E3_MAX_VOLTAGE 127 #define E3_MAX_VOLTAGE 127
#define E3_CHAIN_POS 0 #define E3_CHAIN_POS -1
#define E3_SLEW_RATE 1 #define E3_SLEW_RATE 1
#endif #endif
@ -2346,7 +2346,7 @@
#define E4_OVERCURRENT 2000 #define E4_OVERCURRENT 2000
#define E4_STALLCURRENT 1500 #define E4_STALLCURRENT 1500
#define E4_MAX_VOLTAGE 127 #define E4_MAX_VOLTAGE 127
#define E4_CHAIN_POS 0 #define E4_CHAIN_POS -1
#define E4_SLEW_RATE 1 #define E4_SLEW_RATE 1
#endif #endif
@ -2355,7 +2355,7 @@
#define E5_OVERCURRENT 2000 #define E5_OVERCURRENT 2000
#define E5_STALLCURRENT 1500 #define E5_STALLCURRENT 1500
#define E5_MAX_VOLTAGE 127 #define E5_MAX_VOLTAGE 127
#define E5_CHAIN_POS 0 #define E5_CHAIN_POS -1
#define E5_SLEW_RATE 1 #define E5_SLEW_RATE 1
#endif #endif

View File

@ -2245,7 +2245,7 @@
#define X_STALLCURRENT 1500 // (mA) Current where the driver detects a stall (VALID: 31.25 * (1-128) - 4A max - rounds down) #define X_STALLCURRENT 1500 // (mA) Current where the driver detects a stall (VALID: 31.25 * (1-128) - 4A max - rounds down)
// On L6474 STALLCURRENT setting is used to set the nominal (TVAL) current // On L6474 STALLCURRENT setting is used to set the nominal (TVAL) current
#define X_MAX_VOLTAGE 127 // 0-255, Maximum effective voltage seen by stepper - not used by L6474 #define X_MAX_VOLTAGE 127 // 0-255, Maximum effective voltage seen by stepper - not used by L6474
#define X_CHAIN_POS 0 // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI #define X_CHAIN_POS -1 // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
#define X_SLEW_RATE 1 // 0-3, Slew 0 is slowest, 3 is fastest #define X_SLEW_RATE 1 // 0-3, Slew 0 is slowest, 3 is fastest
#endif #endif
@ -2254,7 +2254,7 @@
#define X2_OVERCURRENT 2000 #define X2_OVERCURRENT 2000
#define X2_STALLCURRENT 1500 #define X2_STALLCURRENT 1500
#define X2_MAX_VOLTAGE 127 #define X2_MAX_VOLTAGE 127
#define X2_CHAIN_POS 0 #define X2_CHAIN_POS -1
#define X2_SLEW_RATE 1 #define X2_SLEW_RATE 1
#endif #endif
@ -2263,7 +2263,7 @@
#define Y_OVERCURRENT 2000 #define Y_OVERCURRENT 2000
#define Y_STALLCURRENT 1500 #define Y_STALLCURRENT 1500
#define Y_MAX_VOLTAGE 127 #define Y_MAX_VOLTAGE 127
#define Y_CHAIN_POS 0 #define Y_CHAIN_POS -1
#define Y_SLEW_RATE 1 #define Y_SLEW_RATE 1
#endif #endif
@ -2272,7 +2272,7 @@
#define Y2_OVERCURRENT 2000 #define Y2_OVERCURRENT 2000
#define Y2_STALLCURRENT 1500 #define Y2_STALLCURRENT 1500
#define Y2_MAX_VOLTAGE 127 #define Y2_MAX_VOLTAGE 127
#define Y2_CHAIN_POS 0 #define Y2_CHAIN_POS -1
#define Y2_SLEW_RATE 1 #define Y2_SLEW_RATE 1
#endif #endif
@ -2281,7 +2281,7 @@
#define Z_OVERCURRENT 2000 #define Z_OVERCURRENT 2000
#define Z_STALLCURRENT 1500 #define Z_STALLCURRENT 1500
#define Z_MAX_VOLTAGE 127 #define Z_MAX_VOLTAGE 127
#define Z_CHAIN_POS 0 #define Z_CHAIN_POS -1
#define Z_SLEW_RATE 1 #define Z_SLEW_RATE 1
#endif #endif
@ -2290,7 +2290,7 @@
#define Z2_OVERCURRENT 2000 #define Z2_OVERCURRENT 2000
#define Z2_STALLCURRENT 1500 #define Z2_STALLCURRENT 1500
#define Z2_MAX_VOLTAGE 127 #define Z2_MAX_VOLTAGE 127
#define Z2_CHAIN_POS 0 #define Z2_CHAIN_POS -1
#define Z2_SLEW_RATE 1 #define Z2_SLEW_RATE 1
#endif #endif
@ -2299,7 +2299,7 @@
#define Z3_OVERCURRENT 2000 #define Z3_OVERCURRENT 2000
#define Z3_STALLCURRENT 1500 #define Z3_STALLCURRENT 1500
#define Z3_MAX_VOLTAGE 127 #define Z3_MAX_VOLTAGE 127
#define Z3_CHAIN_POS 0 #define Z3_CHAIN_POS -1
#define Z3_SLEW_RATE 1 #define Z3_SLEW_RATE 1
#endif #endif
@ -2308,7 +2308,7 @@
#define E0_OVERCURRENT 2000 #define E0_OVERCURRENT 2000
#define E0_STALLCURRENT 1500 #define E0_STALLCURRENT 1500
#define E0_MAX_VOLTAGE 127 #define E0_MAX_VOLTAGE 127
#define E0_CHAIN_POS 0 #define E0_CHAIN_POS -1
#define E0_SLEW_RATE 1 #define E0_SLEW_RATE 1
#endif #endif
@ -2317,7 +2317,7 @@
#define E1_OVERCURRENT 2000 #define E1_OVERCURRENT 2000
#define E1_STALLCURRENT 1500 #define E1_STALLCURRENT 1500
#define E1_MAX_VOLTAGE 127 #define E1_MAX_VOLTAGE 127
#define E1_CHAIN_POS 0 #define E1_CHAIN_POS -1
#define E1_SLEW_RATE 1 #define E1_SLEW_RATE 1
#endif #endif
@ -2326,7 +2326,7 @@
#define E2_OVERCURRENT 2000 #define E2_OVERCURRENT 2000
#define E2_STALLCURRENT 1500 #define E2_STALLCURRENT 1500
#define E2_MAX_VOLTAGE 127 #define E2_MAX_VOLTAGE 127
#define E2_CHAIN_POS 0 #define E2_CHAIN_POS -1
#define E2_SLEW_RATE 1 #define E2_SLEW_RATE 1
#endif #endif
@ -2335,7 +2335,7 @@
#define E3_OVERCURRENT 2000 #define E3_OVERCURRENT 2000
#define E3_STALLCURRENT 1500 #define E3_STALLCURRENT 1500
#define E3_MAX_VOLTAGE 127 #define E3_MAX_VOLTAGE 127
#define E3_CHAIN_POS 0 #define E3_CHAIN_POS -1
#define E3_SLEW_RATE 1 #define E3_SLEW_RATE 1
#endif #endif
@ -2344,7 +2344,7 @@
#define E4_OVERCURRENT 2000 #define E4_OVERCURRENT 2000
#define E4_STALLCURRENT 1500 #define E4_STALLCURRENT 1500
#define E4_MAX_VOLTAGE 127 #define E4_MAX_VOLTAGE 127
#define E4_CHAIN_POS 0 #define E4_CHAIN_POS -1
#define E4_SLEW_RATE 1 #define E4_SLEW_RATE 1
#endif #endif
@ -2353,7 +2353,7 @@
#define E5_OVERCURRENT 2000 #define E5_OVERCURRENT 2000
#define E5_STALLCURRENT 1500 #define E5_STALLCURRENT 1500
#define E5_MAX_VOLTAGE 127 #define E5_MAX_VOLTAGE 127
#define E5_CHAIN_POS 0 #define E5_CHAIN_POS -1
#define E5_SLEW_RATE 1 #define E5_SLEW_RATE 1
#endif #endif