Honest answer to 'do the inputs/speaker work?': they had NO Rust code. Add the drivers and a live self-test: buttons GP15/GP14 (pull-up), joystick GP26/GP27 via ADC, speaker GP13 via PWM (~2 kHz click on button press). draw_peripheral_test (pm-ui) shows button states, joystick dot + X/Y values, and beep activity; layout verified in the simulator (uisim --bin periphsim) before flashing. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| pm-kit | ||
| pm-ui | ||
| track-format | ||
| uisim | ||
| Containerfile | ||
| README.md | ||
| run.sh | ||
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