Rust GBA
Gameboy Advanced support for rust based on the embedonomicon.
Check out ryankurte/rust-gba-example for a working example.
Status
At the moment this pretty much just boots. In the future, it'd be neat to have drivers for the GBA peripherals included. If you implement anything, please do open a PR!
Usage
- Create a new
#[no_std]
binary project withcargo new --bin
- Add
gba = { git = "https://github.com/ryankurte/rust-gba" }
as a dependency - Copy
arm7tdmi.json
,.cargo/config
,Xargo.toml
and optionallymakefile
from this into your project root - Build with
cargo xbuild --target arm7tdmi.json --release
Alternately, you can clone or copy ryankurte/rust-gba-example and start work from there.
For more useful commands, check out the makefile