metronome/rust
Me Here 026c20523d pm-kit: full st7796 init as PRIMARY bring-up, then mipidsi for drawing
Host initdump proved mipidsi's MADCTL (0x48), COLMOD, and address window
(CASET 0..319 / RASET 0..479) already match CircuitPython exactly — so the 1/4
+ rotation wasn't an addressing bug. The missing piece was the ST7796 extension
init (B6/power/gamma) running as the PRIMARY bring-up right after reset (grafting
it onto mipidsi's already-DISPON'd panel blanked or under-configured it).

Now: manual hw reset + full CircuitPython st7796_init via the raw interface, THEN
Builder without reset_pin (re-asserts only the basics, extension setup persists).
initdump extended to also dump CASET/RASET draw windows.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 22:50:51 -05:00
..
pm-kit pm-kit: full st7796 init as PRIMARY bring-up, then mipidsi for drawing 2026-05-31 22:50:51 -05:00
pm-ui Rust UI: host simulator (PNG) + shared pm-ui crate; trim panel init 2026-05-31 21:54:20 -05:00
track-format Rust port Stage 2: scheduler timing + no_std (builds for RP2350) 2026-05-31 19:34:02 -05:00
uisim pm-kit: full st7796 init as PRIMARY bring-up, then mipidsi for drawing 2026-05-31 22:50:51 -05:00
Containerfile Rust port Stage 1: track-format codec crate (passes the golden vectors) 2026-05-31 18:36:59 -05:00
README.md Rust port Stage 1: track-format codec crate (passes the golden vectors) 2026-05-31 18:36:59 -05:00
run.sh Rust port Stage 1: track-format codec crate (passes the golden vectors) 2026-05-31 18:36:59 -05:00

Rust port — track-format crate (Stage 1)

Pure parse/serialize codec for the track DSL, validated against the shared golden vectors (tests/fixtures/track-format.json) — the third implementation alongside engine.js and app.py. See docs/rust-port.md for the staged plan.

All tooling runs in a container (per the develop-in-container rule):

./rust/run.sh            # cargo test — runs the conformance + idempotency suite
./rust/run.sh cargo build
./rust/run.sh bash       # interactive shell in the crate