Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.