Skip to content

serial: add 'version', 'ls' and 'stat' commands - #106

Merged
bbsan2k merged 2 commits into
sd2psXtd:developfrom
mathewbeall:feat/serial-inspect-commands
Sep 7, 2026
Merged

serial: add 'version', 'ls' and 'stat' commands#106
bbsan2k merged 2 commits into
sd2psXtd:developfrom
mathewbeall:feat/serial-inspect-commands

Conversation

@mathewbeall

Copy link
Copy Markdown

Split out of #104 per review: the serial-inspection commands only, no card-exit logic.

  • version — reports firmware version/commit/branch/HW variant/mode without rebooting to re-read the boot banner.
  • ls [path] / stat <path> — lets a host check that a card image actually exists on the SD card before switching to it, instead of finding out after the firmware quietly creates a blank one.

Both commands reply with printf, consistent with every other reply in serial_input.c.

🤖 Generated with Claude Code

https://claude.ai/code/session_01B1gpWeX4ssmodsaa4oUt6x

mathewbeall and others added 2 commits September 7, 2026 00:08
Lets a host ask which firmware is running without rebooting the
device for the boot banner:

    > version
    Version: 1.4.0-coh3
    Commit: 8cbc821

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Lets a host check that the card image it is about to select actually
exists on the SD card before switching to it, instead of finding out
after the firmware quietly creates a blank one.
@bbsan2k
bbsan2k merged commit 01e7608 into sd2psXtd:develop Sep 7, 2026
11 checks passed
@bbsan2k

bbsan2k commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

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.

2 participants