- rustup
rustc_codegen_gcc
(experimental GCC codegen for rustc)- binutils configured with
--target=rx-elf
- A patched version of libgccjit, configured with
--target rx-elf --enable-languages=c,jit --enable-host-shared --disable-werror --disable-multilib --disable-libssp
- A custom fork of
rustc_codegen_gcc
forrx-none-elf
target, built by./build.sh --release-sysroot
- binutils configured with
- GR-CITRUS
Enter the USB mass storage loader mode by pressing the reset button on your board while it's connected to a host machine.
rustc_codegen_gcc/cargo.sh build --release
rx-elf-objcopy -O binary target/rx-none-elf/release/rx-rusty-blinky /tmp/app.bin
cp /tmp/app.bin /run/media/$USER/GR-CITRUS_b