Devesh36/pocket-audio-player
A portable, rechargeable microSD audio player built around an RP2040, SPI flash, USB‑C charging/power management, LCD/button controls, PCM5102A I²S DAC, and TPA6132A headphone amplifier in a 3D‑printed enclosure.
- Version
- 1.0.12
- License
- unset
- Stars
- 0
scripts/save-routing.ts
const result=await Bun.file("routing/fresh-result.json").json();
if(!Array.isArray(result.traces)||!result.traces.length)throw new Error("No completed native route to save");
await Bun.write("routing/candidate.json",JSON.stringify(result,null,2));
console.log("Saved current native route. Rebuild and check before fabrication.");