Rust project for the Arduino Uno.
-
Install prerequisites as described in the
avr-halREADME (avr-gcc,avr-libc,avrdude,ravedude). -
Run
cargo buildto build the firmware. -
Run
cargo runto flash the firmware to a connected board. Ifravedudefails to detect your board, check its documentation at https://crates.io/crates/ravedude. -
ravedudewill open a console session after flashing where you can interact with the UART console of your board.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.