Commit graph

22431 commits

Author SHA1 Message Date
Andrew
5fe13ac3ec
🚸 ProUI: Switch States shows Probe and Filament Sensor (#27423)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
2026-11-26 02:02:35 -06:00
CaldurG
830009b890
🐛 Fix NULL pointer in SD sort without name caching (#28909)
With SDSORT_USES_RAM minus SDSORT_CACHE_NAMES and SDSORT_USES_STACK, the sortnames pointer is declared (as its declaration covers DISABLED(SDSORT_USES_STACK)) but the constructor only assigned it under ENABLED(SDSORT_CACHE_NAMES). presort() then writes through the NULL pointer via SET_SORTNAME, hard-faulting the board (e.g. LPC1768) as soon as an SD card with two or more files is mounted.

Assign sortnames whenever it is declared and not heap-allocated: whenever SDSORT_DYNAMIC_RAM is off and either SDSORT_CACHE_NAMES is on or SDSORT_USES_STACK is off. This also skips the wasted static allocation when SDSORT_DYNAMIC_RAM applies.

Add a build test (LPC1768/config-07) covering the crashing combo.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-26 01:43:35 -06:00
小卡塔克
7de72fd0ab
🔨 Find active MOTHERBOARD for mfenvs (#28908)
Fixes #28893
2026-11-26 01:39:38 -06:00
ellensp
61917a3359
🐛 Fix config-migrate.py endstop plugs, duplicate defines (#28912)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
Set USE_xMIN_PLUG / USE_xMAX_PLUG from the homing direction when migrating to a version that has them from one that doesn't.

Apply an active second copy of an option to the target's own line when that line is in the same #if context, so it isn't defined twice.
2026-11-25 21:42:26 -06:00
Scott Lahteine
9410d61847 🚸 Misc. LCD / RTS tweaks 2026-11-25 21:00:42 -06:00
Scott Lahteine
b6e1e016fa
🐛 Archive ZNP_ROBIN_NANO.bin release build (#28910) 2026-11-25 20:19:20 -06:00
Xia Chao
daa2c09df8
🐛 Apply the planned fan speed on queued move start (#28903) 2026-11-25 20:17:15 -06:00
thinkyhead
3fd2799c04 [cron] Bump distribution date (2026-11-26) 2026-11-26 00:28:30 +00:00
Vovodroid
1b855b332f
🐛 Fix enqueue_now multi-line G-code (#28906)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
Fixes:
- DGUS MKS:`DGUSScreenHandlerMKS::meshLevel`
- DGUS Reloaded (UBL): `DGUSRxHandler::probe`
- Creality RTS: `RTS::handleData` probe, poweroff
- Sovol RTS: `RTS::handleData` homing, pause
2026-11-24 23:07:21 -06:00
ellensp
3f460ccf6c
🐛 Fix SWD on FLY D5 with USB (#28905) 2026-11-24 22:50:48 -06:00
ellensp
042af54bec
🐛 Atomic STM32 serial write (#28904) 2026-11-24 22:49:26 -06:00
Eminy
2e7a4b8c75
🐛 Fix rounded ftostr42_52 and ftostr53_63 (#28902) 2026-11-24 22:47:50 -06:00
ellensp
f0812d32e9
🐛 Fix FAN_KICKSTART_LINEAR kick time (#28898) 2026-11-24 20:22:04 -06:00
Scott Lahteine
640ec3e9fc
🚸 MMU3: Time out on Load with Retry/Abort (#28896) 2026-11-24 20:21:36 -06:00
ellensp
822a7dfb87
🐛 Fix config-migrate.py unbalanced #if, old option names (#28907)
An #endif the user added was dropped as old stock text whenever an earlier, unrelated #if had been dropped, leaving the user's #if unterminated. Added #if, #else and #endif lines are now carried over or dropped as a block, by their own #if.

A commented-out define with an old option name disabled the option under its current name. When the files also have the current name, that one decides and the old-name line is dropped.

Benefits config migration and thus MarlinWebBuild.
2026-11-24 19:37:39 -06:00
thinkyhead
e1f98a7b96 [cron] Bump distribution date (2026-11-25) 2026-11-25 00:28:56 +00:00
Scott Lahteine
30fe098f82
🐛 Enable and fix cooler residency in M193 wait (#28895)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
2026-11-24 16:11:26 -06:00
ellensp
341a0d3b19
🐛 Start EXPERIMENTAL_I2CBUS from setup() (#28901)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
2026-11-24 01:28:58 -06:00
石立枫
185cccaddd
🐛 Fix STM32F0 SERIAL_DMA (#28900) 2026-11-24 01:25:31 -06:00
ellensp
a3c052b131
🐛 Fix filament runout with multiple extruders (#28899) 2026-11-24 01:23:00 -06:00
Eminy
3d8e7d4c26
🐛 Fix RP2040 PWM frequency above 1 kHz (#28877)
set_pwm_frequency() passed 1000 / f_desired to period_ms(), so every frequency above 1 kHz got a period of 0 ms and the others were rounded to whole milliseconds. Use period_us() with the period in microseconds.
2026-11-24 00:48:40 -06:00
thinkyhead
d74964ee72 [cron] Bump distribution date (2026-11-24)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
2026-11-24 00:26:47 +00:00
Xia Chao
743e63cfa4
🐛 Keep fixed units in M200 and M205 reports (#28897)
With G20, the reports scale the volumetric limit and minimum segment time. Replaying those fields changes the stored values.
2026-11-23 17:33:42 -06:00
Scott Lahteine
22831028e7
🔧 Ender-5 S1 comment for CREALITY_RTS (#28894)
Some checks failed
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
CI - Build Tests / Build Test (push) Waiting to run
CI - Validate boards.h / Validate boards.h (push) Has been cancelled
CI - Validate Pins Files / Validate Pins Files (push) Has been cancelled
2026-11-22 21:24:57 -06:00
Eminy
22b182e914
Fix Teensy 4 PWM duty scale (#28887)
set_pwm_duty() picked one more bit of analogWrite resolution than its scale, so with the default v_size of 255 it wrote 256 at 9 bits and the highest duty was 50 %.
2026-11-22 19:51:12 -06:00
Scott Lahteine
98bfad7829
🔨 build_example: Archive mksLite and Chitu firmware (#28892) 2026-11-22 19:47:04 -06:00
Scott Lahteine
1cb58a4511
🐛 Fix build_archive mode and sha256.txt newline (#28891) 2026-11-22 19:45:07 -06:00
Scott Lahteine
3840e53d37
🔧 Allow EXTRUDER_RUNOUT_PREVENT with ADVANCED_PAUSE_FEATURE (#28890) 2026-11-22 19:44:06 -06:00
ellensp
6ed05030df
✨ ESP32-S2 and ESP32-S3 support (arduino-esp32 2.0.7, ESP-IDF 4.4) (#28781)
* ✨ ESP32-S3 support (arduino-esp32 2.0.7, ESP-IDF 4.4)

Add BOARD_ESPRESSIF_ESP32S3 and env:esp32s3_idf4: timers, PWM, servos, ADC1 and the I2S stepper stream on the S3, native USB serial as -1 with the emergency parser, M997 restart, and S3-safe M43 pin handling.

The WiFi serial port is now -3 on every ESP32 and can be used in any serial port slot. WiFi modem sleep is turned off to keep WebSocket replies from stalling.

* ✨ ESP32-S2 support

Add the ESP32-S2 to the non-classic ESP32 paths used by the S3.

- Native USB (SERIAL_PORT -1) is the USB OTG port through TinyUSB (USBCDC). Output longer than its 64-byte TX FIFO is sent in pieces.
- Two UARTs: serial port 2 is a sanity-check error.
- ADC1 at the chip's full 13-bit width.
- PWM on GPIO 0-45 (46 is input only); M43 skips the flash, PSRAM, native USB and UART0 pins.
- On a single-core build the IDF doesn't set the spinlock owner, so hal.isr_on() never re-enabled interrupts. Count isr_off() instead.

New board BOARD_ESPRESSIF_ESP32S2, env esp32s2_idf4 and CI tests.
2026-11-22 19:38:10 -06:00
ellensp
3f1bbe1a7d
🐛 BricoLeMon: single-wire TMC UART from TX pins only (#28863)
The onboard TMC2209 PDN_UART line is wired to D0 directly and to D1 through 1K; the extra driver to D17 directly and to D16 through 1K. Transmitting on the direct pin leaves the drivers unable to reply, so the BricoLeMon's TX 0 / RX 1 and TX 17 / RX 16 didn't work.

Define only the TX pins (D0, D17) and let pins_postprocess set each RX pin to its TX pin, for single-wire on both boards. The commented E1 hardware serial option names Serial3 (D16/D17), not Serial2.
2026-11-22 19:17:50 -06:00
thinkyhead
afd9d21212 [cron] Bump distribution date (2026-11-23) 2026-11-23 00:31:29 +00:00
Scott Lahteine
11f9864b27
✨ Creality CR-6 SE with Touch Screen (#19958)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
CI - Validate Pins Files / Validate Pins Files (push) Waiting to run
Co-authored-by: Sebastiaan Dammann <sebastiaandammann@outlook.com>
Co-authored-by: Martijn van Buul <martijn.van.buul@gmail.com>
Co-authored-by: Romain <2005901+grobux@users.noreply.github.com>
Co-authored-by: Thinkersbluff <36551518+Thinkersbluff@users.noreply.github.com>
2026-11-22 14:41:04 -06:00
Scott Lahteine
adeb830785
✨ PancakeBot support (#28754)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate boards.h / Validate boards.h (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
CI - Validate Pins Files / Validate Pins Files (push) Waiting to run
2026-11-21 23:42:27 -06:00
Scott Lahteine
558b3ba584
✨ G33 least-squares (Minor Squares) delta calibration (#28889)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
2026-11-21 19:42:01 -06:00
Scott Lahteine
f588bb0718 ✅ MarlinSimUI 26.11.21 2026-11-21 19:39:14 -06:00
thinkyhead
5dc0fb0215 [cron] Bump distribution date (2026-11-22) 2026-11-22 00:30:50 +00:00
ellensp
38b6abb34c
🔨 Link Winsock for simulator_windows (#28880)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
MarlinSimUI's agent interface and webcam stream use the socket API directly, which on Windows is in ws2_32.
2026-11-21 02:59:13 -06:00
Scott Lahteine
5d3c1750c8
🚸 MMU3: Offer Unload for filament already loaded (#28886) 2026-11-21 02:22:23 -06:00
Scott Lahteine
c7e72c1e4f
✨ ENDSTOP_INTERRUPTS_FEATURE for Simulator (#28875) 2026-11-21 01:40:01 -06:00
thinkyhead
697ed9a5f4 [cron] Bump distribution date (2026-11-21) 2026-11-21 06:17:00 +00:00
Scott Lahteine
9286ba2dd6
♻️ Track heaters time in target range (#28885) 2026-11-20 23:05:05 -06:00
thinkyhead
9efefed3db [cron] Bump distribution date (2026-11-20)
Some checks failed
CI - Build Tests / Build Test (push) Has been cancelled
CI - Unit Tests / Unit Test (push) Has been cancelled
CI - Validate Conditionals / Validate Conditionals (push) Has been cancelled
CI - Validate Source Files / Validate Source Files (push) Has been cancelled
2026-11-20 00:27:08 +00:00
Scott Lahteine
98ceb90be9
🐛 Fix preheat build without hotend or heated bed (#28873) 2026-11-19 12:51:18 -06:00
Scott Lahteine
12afe54ff7
🚸 MMU3: Say so when Load finds filament already loaded (#28883)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
The MMU refuses to load while its FINDA sees filament. Marlin kept resending the command until it gave up after 30 seconds with a generic communication error that tells the user to check the wiring. Check the FINDA first, and show the existing "filament is already loaded, unload it first" message instead.
2026-11-18 23:50:45 -06:00
Scott Lahteine
30e0e362c3 📝 M92 parameters are configured axis names 2026-11-18 21:32:52 -06:00
Scott Lahteine
fd944231ae
🐛 MMU3: Save and park once per error (#28882)
When nothing was allowed to park the head (a Load error with the nozzle left hot) the "saved" state never became non-empty, so every poll repeated the save, the planner sync and the log line (about once per second while the error screen waited). Mark the state as saved, and clear it when the MMU recovers.
2026-11-18 21:28:12 -06:00
Scott Lahteine
26e7cab4a0
🐛 Fix MMU Unload status showing "%i" (#28881)
The unload action printed "Filament %i Unload..." without a slot number. (Use the current tool, or "Unload Filament" when unknown.)
2026-11-18 21:26:07 -06:00
thinkyhead
9b3c3fb276 [cron] Bump distribution date (2026-11-19)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
2026-11-19 00:29:29 +00:00
SpankyDevil
1af444b436
🐛 Fix false MMU3 runout trigger (#28872)
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Conditionals / Validate Conditionals (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
2026-11-17 20:58:27 -06:00
thinkyhead
f803e96c60 [cron] Bump distribution date (2026-11-18) 2026-11-18 00:29:48 +00:00