Skip to content

Commit 29c5925

Browse files
committed
Update Release 2.1.1
1 parent 198aa0b commit 29c5925

File tree

15 files changed

+864
-796
lines changed

15 files changed

+864
-796
lines changed

Marlin/Configuration.h

Lines changed: 48 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,7 @@
122122
*
123123
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
124124
*/
125-
#if ANY(SR_MKS, SR_BTT)
126-
#define SERIAL_PORT -1 // -1 for communication with USB(1,=nok)
127-
#define BAUDRATE 250000
128-
#else
125+
#if ANY(QQSP, Q5)
129126
#define SERIAL_PORT 3
130127
#define BAUDRATE 115200
131128
#endif
@@ -152,14 +149,29 @@
152149
//#define BAUDRATE_2 250000 // Enable to override BAUDRATE
153150
#if ANY(SR_MKS, SR_BTT)
154151
#ifdef SR_BTT
155-
#define SERIAL_PORT_2 0 //BTT -1
152+
#ifdef MOD_AUX
153+
#define SERIAL_PORT 3 // 3=ESP3Dv3.0 MKS-Wifi
154+
#define SERIAL_PORT_2 -1 // -1=USB Connection
155+
#define BAUDRATE 115200
156+
#else
157+
#define SERIAL_PORT -1 // -1=USB Connection
158+
#define SERIAL_PORT_2 0 // 0=USB Connection
159+
#define BAUDRATE 115200
160+
#endif
156161
#endif
157162
#ifdef SR_MKS
158-
#define SERIAL_PORT_2 3 // 3 BTT-TFT(0,1=nok)
159-
#define BAUDRATE_2 250000
160-
#ifdef MOD_AUX
161-
#define SERIAL_PORT_3 1 // 1 MKS-Wifi(2=nok)
162-
//#define BAUDRATE_3 115200
163+
#define SERIAL_PORT -1 // -1 for communication with USB(1,=nok)
164+
#define BAUDRATE 250000
165+
#ifdef ESP3D_30
166+
#undef SERIAL_PORT_2 //1 // 1=ESP3Dv3.0 MKS-Wifi
167+
#elif ENABLED(MOD_AUX)
168+
#define SERIAL_PORT_2 1 // 1=ESP3Dv2.1 MKS-Wifi
169+
#define BAUDRATE_2 115200 //
170+
#define SERIAL_PORT_3 3 // 3=BTT-TFT(0,1=nok)
171+
#define BAUDRATE_3 250000 //115200
172+
#else
173+
#define SERIAL_PORT_2 3 // 3=BTT-TFT(0,1=nok)TX3/RX3
174+
#define BAUDRATE_2 250000
163175
#endif
164176
#endif
165177
#else
@@ -188,13 +200,13 @@
188200

189201
// Name displayed in the LCD "Ready" message and Info menu
190202
#ifdef QQSP
191-
#define CUSTOM_MACHINE_NAME "δDelta QQSP"
203+
#define CUSTOM_MACHINE_NAME "Delta QQSP"
192204
#endif
193205
#ifdef Q5
194-
#define CUSTOM_MACHINE_NAME "δDelta Q5"
206+
#define CUSTOM_MACHINE_NAME "Delta Q5"
195207
#endif
196208
#if ANY(SR_MKS, SR_BTT)
197-
#define CUSTOM_MACHINE_NAME "ΔDelta SuperRacer"
209+
#define CUSTOM_MACHINE_NAME "Delta SuperRacer"
198210
#endif
199211

200212
// Printer's unique ID, used by some programs to differentiate between machines.
@@ -728,7 +740,7 @@
728740
#endif
729741
//#define MPCTEMP // ** EXPERIMENTAL **
730742

731-
#define BANG_MAX 200 // Limits current to nozzle while in bang-bang mode; 255=full current
743+
#define BANG_MAX 250 // Limits current to nozzle while in bang-bang mode; 255=full current
732744
#define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
733745
#define PID_K1 0.95 // Smoothing factor within any PID loop
734746

@@ -834,9 +846,7 @@
834846
* the issues involved, don't use bed PID until someone else verifies that your hardware works.
835847
* @section bed temp
836848
*/
837-
#ifndef HX43
838-
#define PIDTEMPBED
839-
#endif
849+
#define PIDTEMPBED
840850

841851
//#define BED_LIMIT_SWITCHING
842852

@@ -1282,7 +1292,7 @@
12821292
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
12831293
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
12841294
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
1285-
#if NONE(X_PROBE, N_PROBE)
1295+
#if NONE(X_PROBE, N_PROBE, B_PROBE)
12861296
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
12871297
#else
12881298
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
@@ -1302,7 +1312,7 @@
13021312
#define U_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
13031313
#define V_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
13041314
#define W_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
1305-
#if NONE(X_PROBE, N_PROBE)
1315+
#if NONE(X_PROBE, N_PROBE, B_PROBE)
13061316
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // Set to true to invert the logic of the probe.
13071317
#else
13081318
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.
@@ -1418,12 +1428,8 @@
14181428
*/
14191429
#if ANY(SR_MKS, SR_BTT)
14201430
#define DEFAULT_ACCELERATION 2800 // X, Y, Z and E acceleration for printing moves
1421-
#define DEFAULT_RETRACT_ACCELERATION 2800 // E acceleration for retracts
1431+
#define DEFAULT_RETRACT_ACCELERATION 1500 // E acceleration for retracts
14221432
#define DEFAULT_TRAVEL_ACCELERATION 2800 // X, Y, Z acceleration for travel (non printing) moves
1423-
#elif ENABLED(NEMA14)
1424-
#define DEFAULT_ACCELERATION 2000 // X, Y, Z and E acceleration for printing moves
1425-
#define DEFAULT_RETRACT_ACCELERATION 1500 //3000/250 // E acceleration for retracts
1426-
#define DEFAULT_TRAVEL_ACCELERATION 2000 // X, Y, Z acceleration for travel (non printing) moves
14271433
#else
14281434
#define DEFAULT_ACCELERATION 1500 // X, Y, Z and E acceleration for printing moves
14291435
#define DEFAULT_RETRACT_ACCELERATION 1500 // E acceleration for retracts
@@ -1541,7 +1547,7 @@
15411547
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
15421548
* (e.g., an inductive probe or a nozzle-based probe-switch.)
15431549
*/
1544-
#if NONE(N_PROBE, P_PROBE)
1550+
#if NONE(N_PROBE, P_PROBE, B_PROBE)
15451551
#define FIX_MOUNTED_PROBE
15461552
#endif
15471553

@@ -1727,9 +1733,9 @@
17271733
// X and Y axis travel speed (mm/min) between probes
17281734
#define XY_PROBE_FEEDRATE (66*60) //3960
17291735

1730-
#if ANY(N_PROBE, P_PROBE)
1731-
#define Z_PROBE_FEEDRATE_FAST (20*60) //1200
1732-
#define Z_PROBE_FEEDRATE_SLOW (20*60)
1736+
#if ANY(N_PROBE, P_PROBE, X_PROBE)
1737+
#define Z_PROBE_FEEDRATE_FAST (60*60) //3600
1738+
#define Z_PROBE_FEEDRATE_SLOW (Z_PROBE_FEEDRATE_FAST / 6) //600
17331739
#else
17341740
// Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2)
17351741
//FEEDRATE_Z
@@ -1784,11 +1790,11 @@
17841790
* A total of 2 does fast/slow probes with a weighted average.
17851791
* A total of 3 or more adds more slow probes, taking the average.
17861792
*/
1787-
#if ANY(P_PROBE, N_PROBE, X_PROBE)
1793+
#if ANY(P_PROBE, N_PROBE)
17881794
#define MULTIPLE_PROBING 2
17891795
#define EXTRA_PROBING 1
1790-
#elif ENABLED(N_PROBE)
1791-
#define MULTIPLE_PROBING 2
1796+
#else
1797+
//#define MULTIPLE_PROBING 2
17921798
#endif
17931799

17941800
/**
@@ -1820,7 +1826,7 @@
18201826
#define Z_MIN_PROBE_REPEATABILITY_TEST
18211827

18221828
// Before deploy/stow pause for user confirmation
1823-
#if NONE(X_PROBE, P_PROBE, N_PROBE)
1829+
#if NONE(X_PROBE, P_PROBE, N_PROBE, B_PROBE)
18241830
#define PAUSE_BEFORE_DEPLOY_STOW
18251831
#endif
18261832
#if ENABLED(PAUSE_BEFORE_DEPLOY_STOW)
@@ -2229,7 +2235,7 @@
22292235
#define G26_XY_FEEDRATE 20 // (mm/s) Feedrate for G26 XY moves.
22302236
#define G26_XY_FEEDRATE_TRAVEL 100 // (mm/s) Feedrate for G26 XY travel moves.
22312237
#ifdef NEMA14
2232-
#define G26_RETRACT_MULTIPLIER 1.0
2238+
#define G26_RETRACT_MULTIPLIER 0.4
22332239
#else
22342240
#define G26_RETRACT_MULTIPLIER 4.0 // G26 Q (retraction) used by default between mesh test elements.
22352241
#endif
@@ -2360,12 +2366,8 @@
23602366
* Useful to retract or move the Z probe out of the way.
23612367
*/
23622368
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"
2363-
#if ANY(QQSP, Q5, SR_MKS, SR_BTT)
2364-
#define Z_PROBE_END_SCRIPT "G28"
2365-
#endif
2366-
#ifdef HX43
2367-
#define Z_PROBE_END_HEIGHT 100 // MKS HX43 require this to work
2368-
#endif
2369+
#define Z_PROBE_END_SCRIPT "G28"
2370+
23692371

23702372
// @section homing
23712373

@@ -2520,8 +2522,8 @@
25202522
// Preheat Constants - Up to 6 are supported without changes
25212523
//
25222524
#define PREHEAT_1_LABEL "PLA"
2523-
#define PREHEAT_1_TEMP_HOTEND 200
2524-
#define PREHEAT_1_TEMP_BED 60
2525+
#define PREHEAT_1_TEMP_HOTEND 205
2526+
#define PREHEAT_1_TEMP_BED 70
25252527
#define PREHEAT_1_TEMP_CHAMBER 35
25262528
#define PREHEAT_1_FAN_SPEED 200 // Value from 0 to 255
25272529

@@ -3546,14 +3548,16 @@
35463548
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
35473549
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
35483550
// is too low, you should also increment SOFT_PWM_SCALE.
3549-
#define FAN_SOFT_PWM
3551+
#ifndef SR_BTT
3552+
#define FAN_SOFT_PWM
3553+
#endif
35503554

35513555
// Incrementing this by 1 will double the software PWM frequency,
35523556
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
35533557
// However, control resolution will be halved for each increment;
35543558
// at zero value, there are 128 effective control positions.
35553559
// :[0,1,2,3,4,5,6,7]
3556-
#ifdef SR_MKS
3560+
#if ANY(SR_MKS, SR_BTT)
35573561
#define SOFT_PWM_SCALE 0
35583562
#else
35593563
#define SOFT_PWM_SCALE 1
@@ -3643,7 +3647,7 @@
36433647
// Use some of the NeoPixel LEDs for static (background) lighting
36443648
//#define NEOPIXEL_BKGD_INDEX_FIRST 0 // Index of the first background LED
36453649
//#define NEOPIXEL_BKGD_INDEX_LAST 5 // Index of the last background LED
3646-
#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
3650+
#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 255 } // R, G, B, W
36473651
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
36483652
#endif
36493653

0 commit comments

Comments
 (0)