metronome/rust/pm-grid
Me Here 219fb267a0 pm-grid: harden FAT-read boot (fix black screen regression)
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>
2026-06-04 07:35:28 -05:00
..
.cargo pm-grid: USB-MIDI audio + make Rust the shipping Grid firmware 2026-06-03 15:19:38 -05:00
src pm-grid: harden FAT-read boot (fix black screen regression) 2026-06-04 07:35:28 -05:00
.gitignore pm-grid: name the drive PM_G-1 + read set lists from it (on-device FAT) 2026-06-04 07:29:30 -05:00
build.rs Add pm-grid: Rust firmware for the Pico Scroll Pack (RP2040) 2026-06-03 07:22:48 -05:00
build.sh pm-grid: USB-MIDI audio + make Rust the shipping Grid firmware 2026-06-03 15:19:38 -05:00
Cargo.toml pm-grid: name the drive PM_G-1 + read set lists from it (on-device FAT) 2026-06-04 07:29:30 -05:00
memory.x pm-grid: USB Mass Storage (composite MIDI + 1MB flash-backed drive) 2026-06-03 16:25:51 -05:00
uf2.py Add pm-grid: Rust firmware for the Pico Scroll Pack (RP2040) 2026-06-03 07:22:48 -05:00