How to use this:
-
Install the
aarch64-none-elf
toolchain.- On Linux, download the linaro toolchain. Add
bin/
to your$PATH
. - On Mac:
brew tap SergioBenitez/osxct && brew install aarch64-none-elf
.
- On Linux, download the linaro toolchain. Add
-
Install Rust nightly.
Assuming you have
rustup
installed, this is as easy asrustup default nightly
. -
Install Xargo.
rustup component add rust-src cargo install xargo
You can now call:
make
: createsbuild/template.{a,elf,hex.bin}