Project template to develop DS hombrew using Rust
Make sure you have installed the devkitPro toolchain Getting Started, just Rust is not enough.
Copy this template to its own place, either using the "Use this template" button on GitHub or downloading it as Zip. (Just make sure the Git repo doesn't point to this repo)
After that just update the Cargo.toml and start editing the template!
The Makefile contains the commands (and wrappers) you need to build the project:
make build
: Callscargo build
and creates the.nds
make clean
: Callscargo clean
and deletes all.nds
make update
: Callscargo update
with some configurationmake run
: Callsmake build
and runs the ROM in melonDS (configurable, changerunner
in Makefile) By default a release version is built. UseDEBUG=1
(e. g.:make DEBUG=1 run
) to build debug versions
You shouldn't call Cargo directly, since it will only build the .elf
(the code of your ROM)