Skip to content

Commit 598713f

Browse files
committed
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into P3Steel-Bugfix
2 parents 9cf1a89 + ba2cadb commit 598713f

File tree

467 files changed

+13451
-4367
lines changed

Some content is hidden

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

467 files changed

+13451
-4367
lines changed

.github/workflows/test-builds.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
# Extended AVR Environments
5050

51-
- FYSETC_F6_13
51+
- FYSETC_F6
5252
- mega1280
5353
- rambo
5454
- sanguino1284p

Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ tests-single-ci:
2727

2828
tests-single-local:
2929
@if ! test -n "$(TEST_TARGET)" ; then echo "***ERROR*** Set TEST_TARGET=<your-module> or use make tests-all-local" ; return 1; fi
30-
chmod +x buildroot/bin/*
31-
chmod +x buildroot/tests/*
3230
export PATH=./buildroot/bin/:./buildroot/tests/:${PATH} \
3331
&& export VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) \
3432
&& run_tests . $(TEST_TARGET) "$(ONLY_TEST)"
@@ -40,8 +38,6 @@ tests-single-local-docker:
4038
.PHONY: tests-single-local-docker
4139

4240
tests-all-local:
43-
chmod +x buildroot/bin/*
44-
chmod +x buildroot/tests/*
4541
export PATH=./buildroot/bin/:./buildroot/tests/:${PATH} \
4642
&& export VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) \
4743
&& for TEST_TARGET in $$(./get_test_targets.py) ; do echo "Running tests for $$TEST_TARGET" ; run_tests . $$TEST_TARGET ; done

Marlin/Configuration.h

+80-26
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@
5656
//===========================================================================
5757
//============================= DELTA Printer ===============================
5858
//===========================================================================
59-
// For a Delta printer start with one of the configuration files in the
60-
// config/examples/delta directory and customize for your machine.
59+
// For a Delta printer, start with one of the configuration files in the config/examples/delta directory
60+
// from https://github.com/MarlinFirmware/Configurations/branches/all and customize for your machine.
6161
//
6262

6363
//===========================================================================
6464
//============================= SCARA Printer ===============================
6565
//===========================================================================
66-
// For a SCARA printer start with the configuration files in
67-
// config/examples/SCARA and customize for your machine.
66+
// For a SCARA printer, start with one of the configuration files in the config/examples/SCARA directory
67+
// from https://github.com/MarlinFirmware/Configurations/branches/all and customize for your machine.
6868
//
6969

7070
// @section info
@@ -896,11 +896,6 @@
896896
*/
897897
//#define BLTOUCH
898898

899-
/**
900-
* Pressure sensor with a BLTouch-like interface
901-
*/
902-
//#define CREALITY_TOUCH
903-
904899
/**
905900
* Touch-MI Probe by hotends.fr
906901
*
@@ -954,10 +949,20 @@
954949
/**
955950
* Nozzle-to-Probe offsets { X, Y, Z }
956951
*
957-
* - Use a caliper or ruler to measure the distance from the tip of
952+
* X and Y offset
953+
* Use a caliper or ruler to measure the distance from the tip of
958954
* the Nozzle to the center-point of the Probe in the X and Y axes.
955+
*
956+
* Z offset
959957
* - For the Z offset use your best known value and adjust at runtime.
960-
* - Probe Offsets can be tuned at runtime with 'M851', LCD menus, babystepping, etc.
958+
* - Common probes trigger below the nozzle and have negative values for Z offset.
959+
* - Probes triggering above the nozzle height are uncommon but do exist. When using
960+
* probes such as this, carefully set Z_CLEARANCE_DEPLOY_PROBE and Z_CLEARANCE_BETWEEN_PROBES
961+
* to avoid collisions during probing.
962+
*
963+
* Tune and Adjust
964+
* - Probe Offsets can be tuned at runtime with 'M851', LCD menus, babystepping, etc.
965+
* - PROBE_OFFSET_WIZARD (configuration_adv.h) can be used for setting the Z offset.
961966
*
962967
* Assuming the typical work area orientation:
963968
* - Probe to RIGHT of the Nozzle has a Positive X offset
@@ -991,11 +996,38 @@
991996
#define XY_PROBE_SPEED (133*60)
992997

993998
// Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2)
994-
#define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
999+
#define Z_PROBE_SPEED_FAST (4*60)
9951000

9961001
// Feedrate (mm/min) for the "accurate" probe of each point
9971002
#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 6)
9981003

1004+
/**
1005+
* Probe Activation Switch
1006+
* A switch indicating proper deployment, or an optical
1007+
* switch triggered when the carriage is near the bed.
1008+
*/
1009+
//#define PROBE_ACTIVATION_SWITCH
1010+
#if ENABLED(PROBE_ACTIVATION_SWITCH)
1011+
#define PROBE_ACTIVATION_SWITCH_STATE LOW // State indicating probe is active
1012+
//#define PROBE_ACTIVATION_SWITCH_PIN PC6 // Override default pin
1013+
#endif
1014+
1015+
/**
1016+
* Tare Probe (determine zero-point) prior to each probe.
1017+
* Useful for a strain gauge or piezo sensor that needs to factor out
1018+
* elements such as cables pulling on the carriage.
1019+
*/
1020+
//#define PROBE_TARE
1021+
#if ENABLED(PROBE_TARE)
1022+
#define PROBE_TARE_TIME 200 // (ms) Time to hold tare pin
1023+
#define PROBE_TARE_DELAY 200 // (ms) Delay after tare before
1024+
#define PROBE_TARE_STATE HIGH // State to write pin for tare
1025+
//#define PROBE_TARE_PIN PA5 // Override default pin
1026+
#if ENABLED(PROBE_ACTIVATION_SWITCH)
1027+
//#define PROBE_TARE_ONLY_WHILE_INACTIVE // Fail to tare/probe if PROBE_ACTIVATION_SWITCH is active
1028+
#endif
1029+
#endif
1030+
9991031
/**
10001032
* Multiple Probing
10011033
*
@@ -1057,6 +1089,13 @@
10571089
//#define PROBING_STEPPERS_OFF // Turn steppers off (unless needed to hold position) when probing
10581090
//#define DELAY_BEFORE_PROBING 200 // (ms) To prevent vibrations from triggering piezo sensors
10591091

1092+
// Require minimum nozzle and/or bed temperature for probing.
1093+
//#define PREHEAT_BEFORE_PROBING
1094+
#if ENABLED(PREHEAT_BEFORE_PROBING)
1095+
#define PROBING_NOZZLE_TEMP 120 // (°C) Only applies to E0 at this time
1096+
#define PROBING_BED_TEMP 50
1097+
#endif
1098+
10601099
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
10611100
// :{ 0:'Low', 1:'High' }
10621101
#define X_ENABLE_ON 0
@@ -1274,10 +1313,21 @@
12741313
//#define MESH_BED_LEVELING
12751314

12761315
/**
1277-
* Normally G28 leaves leveling disabled on completion. Enable
1278-
* this option to have G28 restore the prior leveling state.
1316+
* Normally G28 leaves leveling disabled on completion. Enable one of
1317+
* these options to restore the prior leveling state or to always enable
1318+
* leveling immediately after G28.
12791319
*/
12801320
#define RESTORE_LEVELING_AFTER_G28
1321+
#define ENABLE_LEVELING_AFTER_G28
1322+
1323+
/**
1324+
* Auto-leveling needs preheating
1325+
*/
1326+
#define PREHEAT_BEFORE_LEVELING
1327+
#if ENABLED(PREHEAT_BEFORE_LEVELING)
1328+
//#define LEVELING_NOZZLE_TEMP 120 // (°C) Only applies to E0 at this time
1329+
#define LEVELING_BED_TEMP 70
1330+
#endif
12811331

12821332
/**
12831333
* Enable detailed logging of G28, G29, M48, etc.
@@ -1437,8 +1487,7 @@
14371487
#endif
14381488

14391489
// Homing speeds (mm/min)
1440-
#define HOMING_FEEDRATE_XY (40*60)
1441-
#define HOMING_FEEDRATE_Z (10*60)
1490+
#define HOMING_FEEDRATE_MM_M { (40*60), (40*60), (10*60) }
14421491

14431492
// Validate that endstops are triggered on homing moves
14441493
#define VALIDATE_HOMING_ENDSTOPS
@@ -1646,6 +1695,10 @@
16461695
// For a purge/clean station mounted on the X axis
16471696
//#define NOZZLE_CLEAN_NO_Y
16481697

1698+
// Require a minimum hotend temperature for cleaning
1699+
#define NOZZLE_CLEAN_MIN_TEMP 170
1700+
//#define NOZZLE_CLEAN_HEATUP // Heat up the nozzle instead of skipping wipe
1701+
16491702
// Explicit wipe G-code script applies to a G12 with no arguments.
16501703
//#define WIPE_SEQUENCE_COMMANDS "G1 X-17 Y25 Z10 F4000\nG1 Z1\nM114\nG1 X-17 Y25\nG1 X-17 Y95\nG1 X-17 Y25\nG1 X-17 Y95\nG1 X-17 Y25\nG1 X-17 Y95\nG1 X-17 Y25\nG1 X-17 Y95\nG1 X-17 Y25\nG1 X-17 Y95\nG1 X-17 Y25\nG1 X-17 Y95\nG1 Z15\nM400\nG0 X-10.0 Y-9.0"
16511704

@@ -1770,16 +1823,6 @@
17701823
*/
17711824
#define SDSUPPORT
17721825

1773-
/**
1774-
* SD CARD: SPI SPEED
1775-
*
1776-
* Enable one of the following items for a slower SPI transfer speed.
1777-
* This may be required to resolve "volume init" errors.
1778-
*/
1779-
//#define SPI_SPEED SPI_HALF_SPEED
1780-
//#define SPI_SPEED SPI_QUARTER_SPEED
1781-
//#define SPI_SPEED SPI_EIGHTH_SPEED
1782-
17831826
/**
17841827
* SD CARD: ENABLE CRC
17851828
*
@@ -2310,6 +2353,16 @@
23102353
//
23112354
//#define LONGER_LK_TFT28
23122355

2356+
//
2357+
// 320x240, 2.8", FSMC Stock Display from ET4
2358+
//
2359+
//#define ANET_ET4_TFT28
2360+
2361+
//
2362+
// 480x320, 3.5", FSMC Stock Display from ET5
2363+
//
2364+
//#define ANET_ET5_TFT35
2365+
23132366
//
23142367
// Generic TFT with detailed options
23152368
//
@@ -2375,6 +2428,7 @@
23752428
//#define TOUCH_CALIBRATION_Y -8981
23762429
//#define TOUCH_OFFSET_X -43
23772430
//#define TOUCH_OFFSET_Y 257
2431+
//#define TOUCH_ORIENTATION TOUCH_LANDSCAPE
23782432

23792433
#if ENABLED(TFT_COLOR_UI)
23802434
//#define SINGLE_TOUCH_NAVIGATION

0 commit comments

Comments
 (0)