Skip to content

Commit c990b86

Browse files
committed
🔥 Drop support for L64XX
MarlinFirmware/Marlin#24427
1 parent a98a646 commit c990b86

File tree

595 files changed

+626
-70874
lines changed

Some content is hidden

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

595 files changed

+626
-70874
lines changed

‎config/default/Configuration.h‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,12 @@
150150
*
151151
* Use TMC2208/TMC2208_STANDALONE for TMC2225 drivers and TMC2209/TMC2209_STANDALONE for TMC2226 drivers.
152152
*
153-
* Options: A4988, A5984, DRV8825, LV8729, L6470, L6474, POWERSTEP01,
154-
* TB6560, TB6600, TMC2100,
153+
* Options: A4988, A5984, DRV8825, LV8729, TB6560, TB6600, TMC2100,
155154
* TMC2130, TMC2130_STANDALONE, TMC2160, TMC2160_STANDALONE,
156155
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
157156
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE,
158157
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
159-
* :['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']
158+
* :['A4988', 'A5984', 'DRV8825', 'LV8729', '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']
160159
*/
161160
#define X_DRIVER_TYPE A4988
162161
#define Y_DRIVER_TYPE A4988

‎config/default/Configuration_adv.h‎

Lines changed: 0 additions & 247 deletions
Original file line numberDiff line numberDiff line change
@@ -3248,253 +3248,6 @@
32483248

32493249
#endif // HAS_TRINAMIC_CONFIG
32503250

3251-
// @section L64XX
3252-
3253-
/**
3254-
* L64XX Stepper Driver options
3255-
*
3256-
* Arduino-L6470 library (0.8.0 or higher) is required.
3257-
* https://github.com/ameyer/Arduino-L6470
3258-
*
3259-
* Requires the following to be defined in your pins_YOUR_BOARD file
3260-
* L6470_CHAIN_SCK_PIN
3261-
* L6470_CHAIN_MISO_PIN
3262-
* L6470_CHAIN_MOSI_PIN
3263-
* L6470_CHAIN_SS_PIN
3264-
* ENABLE_RESET_L64XX_CHIPS(Q) where Q is 1 to enable and 0 to reset
3265-
*/
3266-
3267-
#if HAS_L64XX
3268-
3269-
//#define L6470_CHITCHAT // Display additional status info
3270-
3271-
#if AXIS_IS_L64XX(X)
3272-
#define X_MICROSTEPS 128 // Number of microsteps (VALID: 1, 2, 4, 8, 16, 32, 128) - L6474 max is 16
3273-
#define X_OVERCURRENT 2000 // (mA) Current where the driver detects an over current
3274-
// L6470 & L6474 - VALID: 375 x (1 - 16) - 6A max - rounds down
3275-
// POWERSTEP01: VALID: 1000 x (1 - 32) - 32A max - rounds down
3276-
#define X_STALLCURRENT 1500 // (mA) Current where the driver detects a stall (VALID: 31.25 * (1-128) - 4A max - rounds down)
3277-
// L6470 & L6474 - VALID: 31.25 * (1-128) - 4A max - rounds down
3278-
// POWERSTEP01: VALID: 200 x (1 - 32) - 6.4A max - rounds down
3279-
// L6474 - STALLCURRENT setting is used to set the nominal (TVAL) current
3280-
#define X_MAX_VOLTAGE 127 // 0-255, Maximum effective voltage seen by stepper - not used by L6474
3281-
#define X_CHAIN_POS -1 // Position in SPI chain, 0=Not in chain, 1=Nearest MOSI
3282-
#define X_SLEW_RATE 1 // 0-3, Slew 0 is slowest, 3 is fastest
3283-
#endif
3284-
3285-
#if AXIS_IS_L64XX(X2)
3286-
#define X2_MICROSTEPS X_MICROSTEPS
3287-
#define X2_OVERCURRENT 2000
3288-
#define X2_STALLCURRENT 1500
3289-
#define X2_MAX_VOLTAGE 127
3290-
#define X2_CHAIN_POS -1
3291-
#define X2_SLEW_RATE 1
3292-
#endif
3293-
3294-
#if AXIS_IS_L64XX(Y)
3295-
#define Y_MICROSTEPS 128
3296-
#define Y_OVERCURRENT 2000
3297-
#define Y_STALLCURRENT 1500
3298-
#define Y_MAX_VOLTAGE 127
3299-
#define Y_CHAIN_POS -1
3300-
#define Y_SLEW_RATE 1
3301-
#endif
3302-
3303-
#if AXIS_IS_L64XX(Y2)
3304-
#define Y2_MICROSTEPS Y_MICROSTEPS
3305-
#define Y2_OVERCURRENT 2000
3306-
#define Y2_STALLCURRENT 1500
3307-
#define Y2_MAX_VOLTAGE 127
3308-
#define Y2_CHAIN_POS -1
3309-
#define Y2_SLEW_RATE 1
3310-
#endif
3311-
3312-
#if AXIS_IS_L64XX(Z)
3313-
#define Z_MICROSTEPS 128
3314-
#define Z_OVERCURRENT 2000
3315-
#define Z_STALLCURRENT 1500
3316-
#define Z_MAX_VOLTAGE 127
3317-
#define Z_CHAIN_POS -1
3318-
#define Z_SLEW_RATE 1
3319-
#endif
3320-
3321-
#if AXIS_IS_L64XX(Z2)
3322-
#define Z2_MICROSTEPS Z_MICROSTEPS
3323-
#define Z2_OVERCURRENT 2000
3324-
#define Z2_STALLCURRENT 1500
3325-
#define Z2_MAX_VOLTAGE 127
3326-
#define Z2_CHAIN_POS -1
3327-
#define Z2_SLEW_RATE 1
3328-
#endif
3329-
3330-
#if AXIS_IS_L64XX(Z3)
3331-
#define Z3_MICROSTEPS Z_MICROSTEPS
3332-
#define Z3_OVERCURRENT 2000
3333-
#define Z3_STALLCURRENT 1500
3334-
#define Z3_MAX_VOLTAGE 127
3335-
#define Z3_CHAIN_POS -1
3336-
#define Z3_SLEW_RATE 1
3337-
#endif
3338-
3339-
#if AXIS_IS_L64XX(Z4)
3340-
#define Z4_MICROSTEPS Z_MICROSTEPS
3341-
#define Z4_OVERCURRENT 2000
3342-
#define Z4_STALLCURRENT 1500
3343-
#define Z4_MAX_VOLTAGE 127
3344-
#define Z4_CHAIN_POS -1
3345-
#define Z4_SLEW_RATE 1
3346-
#endif
3347-
3348-
#if AXIS_IS_L64XX(I)
3349-
#define I_MICROSTEPS 128
3350-
#define I_OVERCURRENT 2000
3351-
#define I_STALLCURRENT 1500
3352-
#define I_MAX_VOLTAGE 127
3353-
#define I_CHAIN_POS -1
3354-
#define I_SLEW_RATE 1
3355-
#endif
3356-
3357-
#if AXIS_IS_L64XX(J)
3358-
#define J_MICROSTEPS 128
3359-
#define J_OVERCURRENT 2000
3360-
#define J_STALLCURRENT 1500
3361-
#define J_MAX_VOLTAGE 127
3362-
#define J_CHAIN_POS -1
3363-
#define J_SLEW_RATE 1
3364-
#endif
3365-
3366-
#if AXIS_IS_L64XX(K)
3367-
#define K_MICROSTEPS 128
3368-
#define K_OVERCURRENT 2000
3369-
#define K_STALLCURRENT 1500
3370-
#define K_MAX_VOLTAGE 127
3371-
#define K_CHAIN_POS -1
3372-
#define K_SLEW_RATE 1
3373-
#endif
3374-
3375-
#if AXIS_IS_L64XX(U)
3376-
#define U_MICROSTEPS 128
3377-
#define U_OVERCURRENT 2000
3378-
#define U_STALLCURRENT 1500
3379-
#define U_MAX_VOLTAGE 127
3380-
#define U_CHAIN_POS -1
3381-
#define U_SLEW_RATE 1
3382-
#endif
3383-
3384-
#if AXIS_IS_L64XX(V)
3385-
#define V_MICROSTEPS 128
3386-
#define V_OVERCURRENT 2000
3387-
#define V_STALLCURRENT 1500
3388-
#define V_MAX_VOLTAGE 127
3389-
#define V_CHAIN_POS -1
3390-
#define V_SLEW_RATE 1
3391-
#endif
3392-
3393-
#if AXIS_IS_L64XX(W)
3394-
#define W_MICROSTEPS 128
3395-
#define W_OVERCURRENT 2000
3396-
#define W_STALLCURRENT 1500
3397-
#define W_MAX_VOLTAGE 127
3398-
#define W_CHAIN_POS -1
3399-
#define W_SLEW_RATE 1
3400-
#endif
3401-
3402-
#if AXIS_IS_L64XX(E0)
3403-
#define E0_MICROSTEPS 128
3404-
#define E0_OVERCURRENT 2000
3405-
#define E0_STALLCURRENT 1500
3406-
#define E0_MAX_VOLTAGE 127
3407-
#define E0_CHAIN_POS -1
3408-
#define E0_SLEW_RATE 1
3409-
#endif
3410-
3411-
#if AXIS_IS_L64XX(E1)
3412-
#define E1_MICROSTEPS E0_MICROSTEPS
3413-
#define E1_OVERCURRENT 2000
3414-
#define E1_STALLCURRENT 1500
3415-
#define E1_MAX_VOLTAGE 127
3416-
#define E1_CHAIN_POS -1
3417-
#define E1_SLEW_RATE 1
3418-
#endif
3419-
3420-
#if AXIS_IS_L64XX(E2)
3421-
#define E2_MICROSTEPS E0_MICROSTEPS
3422-
#define E2_OVERCURRENT 2000
3423-
#define E2_STALLCURRENT 1500
3424-
#define E2_MAX_VOLTAGE 127
3425-
#define E2_CHAIN_POS -1
3426-
#define E2_SLEW_RATE 1
3427-
#endif
3428-
3429-
#if AXIS_IS_L64XX(E3)
3430-
#define E3_MICROSTEPS E0_MICROSTEPS
3431-
#define E3_OVERCURRENT 2000
3432-
#define E3_STALLCURRENT 1500
3433-
#define E3_MAX_VOLTAGE 127
3434-
#define E3_CHAIN_POS -1
3435-
#define E3_SLEW_RATE 1
3436-
#endif
3437-
3438-
#if AXIS_IS_L64XX(E4)
3439-
#define E4_MICROSTEPS E0_MICROSTEPS
3440-
#define E4_OVERCURRENT 2000
3441-
#define E4_STALLCURRENT 1500
3442-
#define E4_MAX_VOLTAGE 127
3443-
#define E4_CHAIN_POS -1
3444-
#define E4_SLEW_RATE 1
3445-
#endif
3446-
3447-
#if AXIS_IS_L64XX(E5)
3448-
#define E5_MICROSTEPS E0_MICROSTEPS
3449-
#define E5_OVERCURRENT 2000
3450-
#define E5_STALLCURRENT 1500
3451-
#define E5_MAX_VOLTAGE 127
3452-
#define E5_CHAIN_POS -1
3453-
#define E5_SLEW_RATE 1
3454-
#endif
3455-
3456-
#if AXIS_IS_L64XX(E6)
3457-
#define E6_MICROSTEPS E0_MICROSTEPS
3458-
#define E6_OVERCURRENT 2000
3459-
#define E6_STALLCURRENT 1500
3460-
#define E6_MAX_VOLTAGE 127
3461-
#define E6_CHAIN_POS -1
3462-
#define E6_SLEW_RATE 1
3463-
#endif
3464-
3465-
#if AXIS_IS_L64XX(E7)
3466-
#define E7_MICROSTEPS E0_MICROSTEPS
3467-
#define E7_OVERCURRENT 2000
3468-
#define E7_STALLCURRENT 1500
3469-
#define E7_MAX_VOLTAGE 127
3470-
#define E7_CHAIN_POS -1
3471-
#define E7_SLEW_RATE 1
3472-
#endif
3473-
3474-
/**
3475-
* Monitor L6470 drivers for error conditions like over temperature and over current.
3476-
* In the case of over temperature Marlin can decrease the drive until the error condition clears.
3477-
* Other detected conditions can be used to stop the current print.
3478-
* Relevant G-codes:
3479-
* M906 - I1/2/3/4/5 Set or get motor drive level using axis codes X, Y, Z, E. Report values if no axis codes given.
3480-
* I not present or I0 or I1 - X, Y, Z or E0
3481-
* I2 - X2, Y2, Z2 or E1
3482-
* I3 - Z3 or E3
3483-
* I4 - Z4 or E4
3484-
* I5 - E5
3485-
* M916 - Increase drive level until get thermal warning
3486-
* M917 - Find minimum current thresholds
3487-
* M918 - Increase speed until max or error
3488-
* M122 S0/1 - Report driver parameters
3489-
*/
3490-
//#define MONITOR_L6470_DRIVER_STATUS
3491-
3492-
#if ENABLED(MONITOR_L6470_DRIVER_STATUS)
3493-
#define KVAL_HOLD_STEP_DOWN 1
3494-
//#define L6470_STOP_ON_ERROR
3495-
#endif
3496-
3497-
#endif // HAS_L64XX
34983251

34993252
// @section i2cbus
35003253

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,12 @@
151151
*
152152
* Use TMC2208/TMC2208_STANDALONE for TMC2225 drivers and TMC2209/TMC2209_STANDALONE for TMC2226 drivers.
153153
*
154-
* Options: A4988, A5984, DRV8825, LV8729, L6470, L6474, POWERSTEP01,
155-
* TB6560, TB6600, TMC2100,
154+
* Options: A4988, A5984, DRV8825, LV8729, TB6560, TB6600, TMC2100,
156155
* TMC2130, TMC2130_STANDALONE, TMC2160, TMC2160_STANDALONE,
157156
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
158157
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE,
159158
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
160-
* :['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']
159+
* :['A4988', 'A5984', 'DRV8825', 'LV8729', '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']
161160
*/
162161
#define X_DRIVER_TYPE A4988
163162
#define Y_DRIVER_TYPE A4988

0 commit comments

Comments
 (0)