Build and deploy menu ROM and/or MCU firmware to the FXPAK Pro SD card. Backs up existing files first.
Build and copy files to the sd2snes SD card for testing on real hardware.
m3nu.bin)firmware.im3)Build the ROM:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/.claude/worktrees/vigorous-vaughan/snes && make 2>&1"
Check for build errors. If the build fails, stop and report.
Determine the target drive:
/deploy GF:Verify the target exists:
ls "<DRIVE>:/sd2snes/"
If the directory doesn't exist, tell the user to insert the SD card.
Back up the existing file:
cp "<DRIVE>:/sd2snes/m3nu.bin" "<DRIVE>:/sd2snes/m3nu.bin.bak"
Copy the new ROM:
cp "C:/Users/david/code/sd2snes/.claude/worktrees/vigorous-vaughan/snes/m3nu.bin" "<DRIVE>:/sd2snes/m3nu.bin"
Verify the copy (file size should be 65536 bytes).
Remind the user:
m3nu.bin.bak if rollback is needed.Build the firmware:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/src && make CONFIG=config-mk3 2>&1"
Check for build errors. If the build fails, stop and report.
Determine the target drive (same as above, default F:).
Back up the existing firmware:
cp "<DRIVE>:/sd2snes/firmware.im3" "<DRIVE>:/sd2snes/firmware.im3.bak"
Copy the new firmware:
cp "C:/Users/david/code/sd2snes/src/obj-mk3/firmware.im3" "<DRIVE>:/sd2snes/firmware.im3"
Verify the copy (file size should be ~141KB).
Remind the user:
firmware.im3.bak.firmware.im3.stock-backup.