ravedude
is a CLI utility to make Rust development for AVR microcontrollers
super smooth. It's a wrapper around avrdude
and provides easy access to the
target's serial console, similar to the Arduino IDE.
ravedude
is meant to be used as a cargo "runner". This allows you to just use
cargo run
for building, deploying, and running your AVR code! For example, in
a project for Arduino Uno, place the following into your .cargo/config.toml
(not in Cargo.toml
):
toml
[target.'cfg(target_arch = "avr")']
runner = "ravedude uno --open-console --baudrate 57600"
On Linux systems, you'll need pkg-config and libudev development files installed:
pacman -S systemd pkgconf
apt install libudev-dev pkg-config
dnf install systemd-devel pkgconf-pkg-config
Next, install the latest version from crates.io with the following command:
bash
cargo install ravedude
Finally, add ravedude as a runner to your project like shown above!
ravedude is licensed under either of
at your option.