Series

Embassy Rust on the XIAO BLE

Embassy brings async/await to microcontrollers. Instead of an RTOS, a superloop, or a hand-rolled state machine, you write straight-line Rust and .await the waits — and the executor puts the chip to sleep in between. This series runs it on the Seeed XIAO BLE, a thumb-sized nRF52840 board, starting from a blinking LED and working up to multiple concurrent tasks.

Each part pairs with a video from the YouTube playlist and a crate in the xiao-ble-embassy repository — watch the build, then read the why. Toolchain setup (the ARM target, probe-rs, the workspace layout) is in the repo’s README.

  1. 01 Blinky, the async way
  2. 02 Reading a button, the obvious way
  3. 03 Waiting for a button instead of polling it
  4. 04 Two things at once: Embassy tasks