This is an embedded-rust tutorial using the esp32-c6 board.
Rust knowledge is assumed, but no embedded experience is required. The content was written for Unix (Linux, MacOS).
The book aims to be self-contained, but short reading material will be suggested. If the license allows for, we will copy useful content here, and provide the source.
Required Hardware
The esp32-c6 board is available on Mouser, Aliexpress and other retailers. It should look similar to:
Other required hardware:
-
USB-C cable to link your computer and the board.
- The cable has to support data transfers and not be power-only.
-
One resistor, 2 jumper wires, one LED, one breadboard. These are needed for Blinky and Handle Input chapters.
Workshop repository
The source for the book and code-exercises is at https://github.com/iampi31415/iampi31415.github.io. To get started, clone repo and then change directory:
git clone https://github.com/iampi31415/iampi31415.github.io
cd iampi31415.github.io
Repository contents. The directory contains:
book/: markdown sources of this bookexercises/: code examples and exercises
Suggested reading
- esp32-c6 user guide: you can find the labelled components, list of peripherals, and schematics.
Related resources
- Awesome ESP Rust
- esp-rs community on Matrix