Why Rust and Zephyr Are a Good Fit
summary
Project enables writing Zephyr applications entirely in Rust with only 20 lines of glue and full cargo integration works so cargo builds crates inside Zephyr CMake. Bindings expose timers, mutexes, threads, work-queues and a generated device-tree-as-Rust-modules approach. An embassy-based executor runs on Zephyr (small implementation) and real apps boot on hardware; a personal keyboard moved from saturating CPU to mostly idle after converting to async. Missing pieces: async awaiting on Zephyr primitives, more driver wrappers and user‑space support.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:30Zephyr and Rust
- 4:23Rust on Zephyr goals
- 8:57Status and examples
- 12:26Zephyr APIs and bindings
- 15:12What still needs to be done
- 18:02Rust on Zephyr challenges
- 20:10How to contribute
- 21:12Async and concurrency
- 28:30Keyboard firmware example
- 31:48Question and answer session
related talks
42mUpdate on Rust in Zephyr
41mRust Meets Zephyr: Building Safer Embedded Applications
42mUpdate on Rust in Zephyr
45mCrabs Flying Kites: Writing a Zephyr Application in Rust
45mCrabs Flying Kites: Writing a Zephyr Application in Rust
36mUsing Zephyr with Non-C Languages
41mRust Meets Zephyr: Building Safer Embedded Applications
26mIntroducing Rust into a Legacy Embedded System
