Skip to content

Commit 65cb671

Browse files
committed
Merge branch 'bugfix-2.1.x' into pr/26709
2 parents 38fc1e3 + 9c65146 commit 65cb671

File tree

250 files changed

+16291
-14915
lines changed

Some content is hidden

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

250 files changed

+16291
-14915
lines changed

Marlin/Configuration.h

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,7 @@
12911291
#define DEFAULT_XJERK 10.0
12921292
#define DEFAULT_YJERK 10.0
12931293
#define DEFAULT_ZJERK 0.3
1294+
#define DEFAULT_EJERK 5.0
12941295
//#define DEFAULT_IJERK 0.3
12951296
//#define DEFAULT_JJERK 0.3
12961297
//#define DEFAULT_KJERK 0.3
@@ -1306,8 +1307,6 @@
13061307
#endif
13071308
#endif
13081309

1309-
#define DEFAULT_EJERK 5.0 // May be used by Linear Advance
1310-
13111310
/**
13121311
* Junction Deviation Factor
13131312
*
@@ -1447,6 +1446,17 @@
14471446
//#define BD_SENSOR_PROBE_NO_STOP // Probe bed without stopping at each probe point
14481447
#endif
14491448

1449+
/**
1450+
* BIQU MicroProbe
1451+
*
1452+
* A lightweight, solenoid-driven probe.
1453+
* For information about this sensor https://github.com/bigtreetech/MicroProbe
1454+
*
1455+
* Also requires: PROBE_ENABLE_DISABLE
1456+
*/
1457+
//#define BIQU_MICROPROBE_V1 // Triggers HIGH
1458+
//#define BIQU_MICROPROBE_V2 // Triggers LOW
1459+
14501460
// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
14511461
//#define SOLENOID_PROBE
14521462

@@ -3027,7 +3037,7 @@
30273037

30283038
//
30293039
// Factory display for Creality CR-10 / CR-7 / Ender-3
3030-
// https://www.aliexpress.com/item/32833148327.html
3040+
// https://marlinfw.org/docs/hardware/controllers.html#cr10_stockdisplay
30313041
//
30323042
// Connect to EXP1 on RAMPS and compatible boards.
30333043
//

Marlin/Configuration_adv.h

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@
459459
#define PID_FAN_SCALING_LIN_FACTOR (PID_FAN_SCALING_AT_FULL_SPEED-DEFAULT_Kf)/255.0
460460

461461
#else
462-
#define PID_FAN_SCALING_LIN_FACTOR (0) // Power loss due to cooling = Kf * (fan_speed)
462+
#define PID_FAN_SCALING_LIN_FACTOR (0) // Power-loss due to cooling = Kf * (fan_speed)
463463
#define DEFAULT_Kf 10 // A constant value added to the PID-tuner
464464
#define PID_FAN_SCALING_MIN_SPEED 10 // Minimum fan speed at which to enable PID_FAN_SCALING
465465
#endif
@@ -1540,6 +1540,7 @@
15401540
* Axis moves <= 1/2 the axis length and Extruder moves <= EXTRUDE_MAXLENGTH
15411541
* will be shown in the move submenus.
15421542
*/
1543+
15431544
#define MANUAL_MOVE_DISTANCE_MM 10, 1.0, 0.1 // (mm)
15441545
//#define MANUAL_MOVE_DISTANCE_MM 100, 50, 10, 1.0, 0.1 // (mm)
15451546
//#define MANUAL_MOVE_DISTANCE_MM 500, 100, 50, 10, 1.0, 0.1 // (mm)
@@ -1744,21 +1745,26 @@
17441745
*/
17451746
//#define POWER_LOSS_RECOVERY
17461747
#if ENABLED(POWER_LOSS_RECOVERY)
1747-
#define PLR_ENABLED_DEFAULT false // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
1748+
#define PLR_ENABLED_DEFAULT false // Power-Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
17481749
//#define PLR_BED_THRESHOLD BED_MAXTEMP // (°C) Skip user confirmation at or above this bed temperature (0 to disable)
1749-
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss
1750-
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)
1751-
//#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module.
1752-
//#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
1750+
1751+
//#define POWER_LOSS_PIN 44 // Pin to detect power-loss. Set to -1 to disable default pin on boards without module, or comment to use board default.
1752+
//#define POWER_LOSS_STATE HIGH // State of pin indicating power-loss
17531753
//#define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor
17541754
//#define POWER_LOSS_PULLDOWN
1755-
//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume
1756-
//#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
1755+
1756+
//#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power-loss with UPS)
1757+
//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume
17571758

17581759
// Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
17591760
// especially with "vase mode" printing. Set too high and vases cannot be continued.
17601761
#define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
17611762

1763+
//#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power-loss
1764+
#if ENABLED(BACKUP_POWER_SUPPLY)
1765+
//#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail
1766+
#endif
1767+
17621768
// Enable if Z homing is needed for proper recovery. 99.9% of the time this should be disabled!
17631769
//#define POWER_LOSS_RECOVER_ZHOME
17641770
#if ENABLED(POWER_LOSS_RECOVER_ZHOME)
@@ -2320,7 +2326,6 @@
23202326
#endif
23212327
//#define ADVANCE_K_EXTRA // Add a second linear advance constant, configurable with M900 L.
23222328
//#define LA_DEBUG // Print debug information to serial during operation. Disable for production use.
2323-
//#define ALLOW_LOW_EJERK // Allow a DEFAULT_EJERK value of <10. Recommended for direct drive hotends.
23242329
//#define EXPERIMENTAL_I2S_LA // Allow I2S_STEPPER_STREAM to be used with LA. Performance degrades as the LA step rate reaches ~20kHz.
23252330
#endif
23262331

Marlin/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* here we define this default string as the date where the latest release
4242
* version was tagged.
4343
*/
44-
//#define STRING_DISTRIBUTION_DATE "2024-01-19"
44+
//#define STRING_DISTRIBUTION_DATE "2024-01-25"
4545

4646
/**
4747
* Defines a generic printer name to be output to the LCD after booting Marlin.

Marlin/src/HAL/DUE/HAL_SPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
// Public functions
4343
// ------------------------
4444

45-
#if ANY(DUE_SOFTWARE_SPI, FORCE_SOFT_SPI)
45+
#if ANY(SOFTWARE_SPI, FORCE_SOFT_SPI)
4646

4747
// ------------------------
4848
// Software SPI

Marlin/src/HAL/DUE/inc/SanityCheck.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@
7272

7373
#if HAS_MEDIA && HAS_DRIVER(TMC2130)
7474
#if ENABLED(TMC_USE_SW_SPI)
75-
#if DISABLED(DUE_SOFTWARE_SPI) && (_IS_HW_SPI(MOSI) || _IS_HW_SPI(MISO) || _IS_HW_SPI(SCK))
75+
#if DISABLED(SOFTWARE_SPI) && (_IS_HW_SPI(MOSI) || _IS_HW_SPI(MISO) || _IS_HW_SPI(SCK))
7676
#error "DUE hardware SPI is required but is incompatible with TMC2130 software SPI. Either disable TMC_USE_SW_SPI or use separate pins for the two SPIs."
7777
#endif
78-
#elif ENABLED(DUE_SOFTWARE_SPI)
78+
#elif ENABLED(SOFTWARE_SPI)
7979
#error "DUE software SPI is required but is incompatible with TMC2130 hardware SPI. Enable TMC_USE_SW_SPI to fix."
8080
#endif
8181
#endif

Marlin/src/HAL/DUE/spi_pins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#define SD_MOSI_PIN 75
4949
#else
5050
// defaults
51-
#define DUE_SOFTWARE_SPI
51+
#define SOFTWARE_SPI
5252
#ifndef SD_SCK_PIN
5353
#define SD_SCK_PIN 52
5454
#endif

Marlin/src/HAL/HC32/MarlinSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
/**
2929
* Not every MarlinSerial instance should handle emergency parsing, as
30-
* it would not make sense to parse GCode from TMC responses
30+
* it would not make sense to parse G-Code from TMC responses
3131
*/
3232
constexpr bool serial_handles_emergency(int port) {
3333
return false

Marlin/src/HAL/LINUX/spi_pins.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
*/
2222
#pragma once
2323

24-
#include "../../core/macros.h"
25-
#include "../../inc/MarlinConfigPre.h"
26-
2724
#if ALL(HAS_MARLINUI_U8GLIB, HAS_MEDIA) && (LCD_PINS_D4 == SD_SCK_PIN || LCD_PINS_EN == SD_MOSI_PIN || DOGLCD_SCK == SD_SCK_PIN || DOGLCD_MOSI == SD_MOSI_PIN)
2825
#define SOFTWARE_SPI // If the SD card and LCD adapter share the same SPI pins, then software SPI is currently
2926
// needed due to the speed and mode required for communicating with each device being different.

Marlin/src/HAL/LPC1768/spi_pins.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
*/
2222
#pragma once
2323

24-
#include "../../core/macros.h"
25-
26-
#if ALL(HAS_MEDIA, HAS_MARLINUI_U8GLIB) && (LCD_PINS_D4 == SD_SCK_PIN || LCD_PINS_EN == SD_MOSI_PIN || DOGLCD_SCK == SD_SCK_PIN || DOGLCD_MOSI == SD_MOSI_PIN)
24+
#if ALL(HAS_MARLINUI_U8GLIB, HAS_MEDIA) && (LCD_PINS_D4 == SD_SCK_PIN || LCD_PINS_EN == SD_MOSI_PIN || DOGLCD_SCK == SD_SCK_PIN || DOGLCD_MOSI == SD_MOSI_PIN)
2725
#define SOFTWARE_SPI // If the SD card and LCD adapter share the same SPI pins, then software SPI is currently
2826
// needed due to the speed and mode required for communicating with each device being different.
2927
// This requirement can be removed if the SPI access to these devices is updated to use

Marlin/src/HAL/NATIVE_SIM/spi_pins.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
*/
2222
#pragma once
2323

24-
#include "../../core/macros.h"
25-
#include "../../inc/MarlinConfigPre.h"
26-
2724
#if ALL(HAS_MARLINUI_U8GLIB, HAS_MEDIA) && (LCD_PINS_D4 == SD_SCK_PIN || LCD_PINS_EN == SD_MOSI_PIN || DOGLCD_SCK == SD_SCK_PIN || DOGLCD_MOSI == SD_MOSI_PIN)
2825
#define SOFTWARE_SPI // If the SD card and LCD adapter share the same SPI pins, then software SPI is currently
2926
// needed due to the speed and mode required for communicating with each device being different.

0 commit comments

Comments
 (0)