Skip to content

Dev to main - #457

Merged
halfmanbear merged 33 commits into
mainfrom
dev
Nov 18, 2026
Merged

halfmanbear merged 33 commits into
mainfrom
dev

Conversation

@halfmanbear

Copy link
Copy Markdown
Collaborator

No description provided.

halfmanbear and others added 30 commits June 11, 2026 10:17
Removed SDCARD_RESET_FILE command from gcode section.

#430
Removed unnecessary configuration options for STM32.
* fix(418): Target temp not restored after filament runout

Add gcode variables similar to what PAUSE macro uses, to restore
target temperature after loading and resuming after filament runout.

* Refactor GCODE variable settings for filament handling

---------

Co-authored-by: HalfManBear <89969229+halfmanbear@users.noreply.github.com>
Catch installer and generate_conf.py regressions in GitHub Actions
without printer hardware. Also add optional Ubuntu/Pi provision
scripts for Fluidd, Moonraker, HTTPS, and generated model configs
so host-side work can be tested in a VM.
Adds support for the RP2350 chip used in Raspberry Pi Pico 2 boards when flashing the PICO USB Accelerometer firmware.

RP2040 uses a device ID of 2e8a:0003
RP2350 uses a device ID of 2e8a:000f
- install_printer_cfg: skip diff prompt with -y (previously blocked)
- install_configs: with -y install all configs instead of opening the menu
- CLI commands: set current_branch so install_screen_service can clone
- --printer_model/--motor_current now override the stored model flag
- power_monitor.service: use $HOME instead of hardcoded /home/mks
- display migration: run installer with bash instead of eval
- toggle_branch: warn before local changes are discarded
- generate_conf.py: insert values literally (no re.sub escape parsing),
  report placeholders without a value; add regression test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CY4TFmR6KmW1LUStEaYvjV
…, shorten load/purge, cap extruder max_temp at 300
…G rewrite, --validate-all; isolate HOME in tests
…switch warning, power_monitor $HOME; adapt backslash test

Co-authored-by: Sven <saiansupa@gmx.net>
Changes were ported into lib/ in the previous commit; this merge keeps that tree.
…fter a glitch (#442)

The monitor that did not fire kept its line requested, so gpioget failed with 'Device or resource busy' and a real power cut could never be confirmed. The glitch path's exec skipped the EXIT trap, so the new instance could not claim the lines and exited. Also keep log output out of read_states, debounce v2 monitors, back off on repeated glitches, and ignore lines that were abnormal at startup.

Co-authored-by: Bruno Oliveira <bruno.scherer@gmail.com>
HEAD != @{u} also matched repos with unpushed local commits, so every run offered a no-op pull that reported success.
Linux 6.14-6.17 can deadlock 8250 TX DMA (fixed upstream by a424a34b8fad, not backported to 6.16), which shows up as Lost communication / Timer too close / Missed scheduling MCU shutdowns. run_fixes installs a U-Boot /boot/fixup.scr that removes dmas/dma-names from serial@ff110000 before boot; DTB files are untouched. Skipped on fixed kernels, when DMA is already off, or when a foreign fixup.scr exists.

Co-authored-by: matthewdva <15670286+matthewdva@users.noreply.github.com>

Co-authored-by: IPv777 <19636346+IPv777@users.noreply.github.com>
…enumerates (#417)

The USB-C printhead's 24 V rail is switched by SoC GPIO82; stock firmware raises it from rc.local. A oneshot service, installed only when the model flag is -tusbc and removed otherwise, raises it before Klipper and waits for the toolhead to enumerate. Selecting usb-c no longer requires the toolhead to be detected, since it cannot appear until powered.

Co-authored-by: Darren Gibbard <1159620+dalgibbard@users.noreply.github.com>
Co-authored-by: Vladimir Savitskii <6356445+vsavitskii@users.noreply.github.com>
The toolhead bootloader is MKS DRIVER_BOOT (1d50:018a), entered by power-cycling GPIO82, and speaks a custom protocol; the 1200-baud request and HID flash never worked. Vendor ggggcodes' n4flash unmodified (686c3bf, MIT) and wrap it: GD32F303 build flags, 96 KiB size check, a single by-id bootloader device, and success only once the Klipper application re-enumerates.

Co-authored-by: ggggcodes <307509430+ggggcodes@users.noreply.github.com>
Co-authored-by: Darren Gibbard <1159620+dalgibbard@users.noreply.github.com>
Map the RK805 interrupt to GPIO2_A6 (matching its pinctrl) in the v1.4 and v2.3 trees. USB-C: frame light on rpi:gpiochip2/gpio2, part light as a plain THR:PB10 output instead of a neopixel, and both N4/N4 Pro part-cooling blowers driven by [fan] through multi_pin.

Co-authored-by: Darren Gibbard <1159620+dalgibbard@users.noreply.github.com>
Co-authored-by: ggggcodes <307509430+ggggcodes@users.noreply.github.com>
Co-authored-by: Mike Knights <1823177+mcknight89@users.noreply.github.com>
…ilament sensor, retained monitoring on known LINE_PWRLOSS (GPIO 19)
@halfmanbear
halfmanbear merged commit 4d2cef2 into main Nov 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants