metronome/rust
Me Here bd3629ba4a pm-kit: working display — ported ST7796 driver + double-buffer + dirty row-bands
Replace mipidsi with a direct port of pico/main.py's ST7796 driver (per-command CS,
MADCTL 0x48, INVON, no offset, big-endian RGB565) — fixes the geometry/colour mangling.
Render the UI into a 300KB RAM framebuffer (embedded-graphics), then push only the
full-width row bands that changed vs the last frame (FNV row-diff) — flicker-free and
~144/480 rows per playhead step. Full-width windows only: the panel's MX bit mirror-maps
sub-width windows wrongly (that was the black screen). SPI 62.5 MHz per pico-cp to shrink
the tearing window (no TE pin is routed on this board, so hardware vsync isn't available).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 11:13:32 -05:00
..
pm-kit pm-kit: working display — ported ST7796 driver + double-buffer + dirty row-bands 2026-06-01 11:13:32 -05:00
pm-ui pm-kit: live metronome — real tracks, clock, audio clicks, controls, view toggle 2026-06-01 00:18:28 -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-ui: drum notation view (first pass) 2026-05-31 23:59:57 -05:00
Containerfile pm-kit: defmt+probe-rs diagnostics + flip-link toolchain 2026-06-01 08:30:35 -05:00
probe-flash.md rust: probe-flash.md — flash+defmt via Pi Debug Probe in a Silverblue toolbox 2026-06-01 08:49:02 -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 pm-kit: defmt+probe-rs diagnostics + flip-link toolchain 2026-06-01 08:30:35 -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