example release rom script

This commit is contained in:
Lokathor 2022-12-22 22:33:59 -07:00
parent dec3a16f0f
commit 207e2510f0

7
release-roms.bat Normal file
View file

@ -0,0 +1,7 @@
cargo build --examples --release
arm-none-eabi-objcopy -O binary target/thumbv4t-none-eabi/release/examples/hello target/hello.gba
gbafix -p -thello -cHELO -mRS target/hello.gba
arm-none-eabi-objcopy -O binary target/thumbv4t-none-eabi/release/examples/game target/game.gba
gbafix -p -tgame -cGAME -mRS target/game.gba