Running Rust on a Digispark USB Development Board, which uses an Attiny85 microcontroller.
Obviously Rust is required to compile the project. Due to a problem with newer Rust versions in avr-hal
, the environment is configured to use the "nightly-2021-01-07" channel.
The following is also needed to get the program on the microcontroller:
avr-gcc
andavr-objcopy
- micronucleus binary (place in
micronucleus
folder for theRakefile
to work)
Make sure to also install drivers for bootloader, which you can find here.
rake flash