The drive-read at boot bricked the display (barely blinked, then black). Likely the new fatfs + owned set lists exhausted the 24KB heap (alloc panic -> halt before the splash). Three fixes: - Heap 24KB -> 96KB (Pico has 264KB). - format_pmg1 writes one 4KB sector per call (the proven MSC write pattern) instead of a single 7-sector erase+program. - Run read_user_setlists AFTER the splash, so a FAT/flash failure can no longer leave the screen black; added defmt logs around it to localize any remaining failure over the probe. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets/bravura | ||
| glyphgen | ||
| pm-grid | ||
| pm-kit | ||
| pm-ui | ||
| track-format | ||
| uisim | ||
| .gitignore | ||
| Cargo.toml | ||
| Containerfile | ||
| probe-flash.md | ||
| 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