Example to get you running rust on a Digispark attiny85 board quickly
Install avr-gcc
, avr-libc
, micronucleus
and elf2nucleus
Assuming you already have a rust environment, you can run the following on Fedora:
sudo dnf install avr-gcc avr-libc micronucleus
cargo install elf2nucleus
Then you can simple run
git clone [email protected]:aidanlw505/digispark-attiny85-rust.git
cd digispark-attiny85-rust
cargo run --release
to run a simple blinking program.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.