Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.32 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.32 KB

Rust Blinky on Renesas RX631

Prerequisites

  • 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 for rx-none-elf target, built by ./build.sh --release-sysroot
  • GR-CITRUS

Building and Flashing

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