What it is

A trimmed, single-board edition of the esp-hal examples for the ESP32-C6. Forty standalone Cargo projects cover GPIO, interrupts, async/Embassy, Wi-Fi, BLE, ESP-NOW, IEEE 802.15.4, and the low-power core. Dependencies are pinned to published crates.io versions, and every example is verified to build for riscv32imac-unknown-none-elf.

I built it for a hackerspace workshop: the upstream examples target many chips and a moving main branch, which is the wrong starting point for someone with one board and one evening.

Details

  • Each example is its own crate, not a workspace member, so it can be copied out and built in isolation.
  • The root pins the esp toolchain channel and the RISC-V target.
  • The radio examples use esp-radio 1.0.0-beta.1, the version that resolves against esp-hal 1.2.2; the adjacent beta pins an older esp-hal and cannot resolve.
  • The workshop assumes the wiring documented in each src/main.rs header.

Why it matters for platform work

Embedded Rust is a different constraint set: no allocator by default, no OS, and a build that must fit the board. It is a useful counterweight to container work, and it exercises the same habits: pin versions, verify the build, and document the hardware assumptions.

The repository is private to the hackerspace; I am happy to walk through the examples or share a copy on request.