Who should use this guide?
This book is for anyone interested in embedded programming with Rust, from Rust developers who have never touched a microcontroller to embedded veterans curious about Rust. In particular, it’s written with two audiences in mind:
- Experienced Rust developers (e.g. web/backend developers) who have little or no embedded systems experience. If you know Rust’s basics and have written and debugged Rust code on desktop, this guide will show you that you can quickly apply Rust to microcontrollers without “unlearning” anything.
- Embedded systems developers who may be new to Rust. If you have familiarity with concepts like cross-compilation, microcontroller peripherals (GPIO, I2C, etc.), and tools like debuggers, this guide will demonstrate how Rust’s abstractions and tooling can make embedded development more robust and productive.
No prior embedded knowledge is strictly required – we will introduce concepts as needed – but basic Rust language knowledge (ownership, traits, async, etc.) will help you get the most out of it.