Repository navigation
feat(cli): stream via marlin-host; drop the fragile M0/M108 pause - #261
Merged
Merged
Conversation
Rewire `fiberpath stream` onto marlin-host's MarlinHost (reliable framing, bounded waits, real connect handshake) instead of fiberpath.execution's optimistic streamer. Ctrl+C aborts gracefully (host-side stop); the old M0/M108 board-hold + restart flow is dropped — interactive pause is the GUI's job. freeze_cli bundles marlin_host + pyserial backends. Validated on a real RAMPS board (dry-run + live 5/5). execution/marlin.py stays for now (interactive.py still uses it); removed in a later slice. Part of #195.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slice F (CLI part) of the machine cutover (#195): rewire
fiberpath streamontomarlin-host.What
fiberpath_cli/stream.pynow buildsMarlinHost(SerialTransport(...), reliable=True)and streams viahost.stream()— getting reliable line-numbered/checksummed framing, bounded busy-waits, and the realstart-banner connect handshake, replacing the in-repo optimistic streamer (exact-okmatch,echo:busy-resets-deadline hang).freeze_cli.pybundlesmarlin_host+ pyserial's dynamic backend.Validation
status/commands/total/baudRate/dryRun).--dry-runand live--port /dev/ttyACM0both stream 5/5.Scope
execution/marlin.pystays (still used byinteractive.py/the GUI subprocess); it's deleted once the GUI moves off the stdio path (Slice E + the F deletes).