Skip to content

Rust Blinky on Renesas RX631, built by the experimental GCC codegen

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yvt/rx631_blinky_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages