Introduction
Embedded Rust on the Raspberry Pi Pico 2 (RP2350) โ Workshop Guide
Welcome to this workshop guide on Embedded Rust using the Raspberry Pi Pico 2 (with the RP2350 microcontroller). This guide is structured as an mdBook (a collection of chapters), meant to provide a comprehensive, hands-on learning experience. We will start from the basics โ getting Rust set up and blinking an LED โ and work up to more advanced topics like using hardware abstraction layers (HALs), interacting with sensors, and even writing asynchronous embedded code with the Embassy framework. Along the way, weโll emphasize three key messages (our learning outcomes):
- โFlashing Rust is easier than brewing coffee. โโ โ Getting Rust onto a chip is dead simple.
- โEmbedded Rust feels like Rust โ not like C. ๐คฎโ โ Embedded Rust lets you use familiar Rust concepts and patterns.
- โScale without pain: async & tooling to keep you sane. ๐โ โ Modern Rust tooling (async runtimes, debuggers, CI) helps your projects grow without becoming a nightmare.