A template for Rust based AVR executables.
Provides:
-
A Rust target specification JSON for ATmega8P - avr-atmega8.json
-
A GitHub-action based CI test pipeline
Install Rust nightly - see the-day-rust-on-avr-stood-still
Then run:
cargo build --target avr-atmega328p.json -Z build-std=core --release
The final ELF executable file will then be available at target/avr-atmega8/release/rpiups.elf.