rust-hello-atmega32u4 icon indicating copy to clipboard operation
rust-hello-atmega32u4 copied to clipboard

A bare minimal LED blinking example of Rust on the ATmega32U4

This is just a small proof of concept of LED blinking hello world running on ATmega32U4/Pro Micro/Leonardo micro controller with as little distractions and complexities as possible.

As AVR support hasn't been fully merged yet, you have to build LLVM and Rust on your own to get this working. Other than taking a ton of time to build, and about 17GB of diskspace, it's a fairly effortless exercise.

Documentation on how to prepare the environment can be found here.

A big thanks to all the people have been active over at the avr-rust project since last summer. Really fun to finally taste the fruit of all the hours that have gone into this.

For more details on the ATmega32U4 board, here are the datasheets.