Rust Meets Zephyr: Building Safer Embedded Applications
summary
Rust on Zephyr is shown as a workable workflow: cargo-driven builds integrated via Zephyr’s west toolchain, bindgen-generated C bindings, and a live micro:bit countdown that boots, flashes, and runs. Practical issues include C interop requiring unsafe fences, a fragile 16‑byte stack buffer for string conversion that can panic at runtime, and the no_std limitation blocking standard library features. The demo compiles with west build, flashes with west flash, and the app runs but needs safer abstraction layers and more drivers.
AI-written summary · about
chapters (14)
- 0:00Rust and Zephyr integration
- 1:26Why Rust for embedded
- 4:40Rust tooling and Zephyr
- 7:11First Rust app on Zephyr
- 10:27Safe hardware abstraction
- 12:34Project structure and build
- 14:01Countdown app walkthrough
- 21:50Zephyr drivers for Rust
- 23:16Keyboard monitor thread
- 26:07Compile and flash Rust
- 27:34Debugging with Zephyr and Rust
- 29:19Lessons and limitations
- 32:09Future of Rust in Zephyr
- 32:51Q&A
related talks
41mRust Meets Zephyr: Building Safer Embedded Applications
41mWhy Rust and Zephyr Are a Good Fit
42mUpdate on Rust in Zephyr
36mUsing Zephyr with Non-C Languages
45mCrabs Flying Kites: Writing a Zephyr Application in Rust
42mUpdate on Rust in Zephyr
26mIntroducing Rust into a Legacy Embedded System
36mIt's Embedded Rust Time
