Crabs Flying Kites: Writing a Zephyr Application in Rust
summary
Zephyr 4.x now carries initial Rust support and demonstrates that Rust’s ownership model catches data races and use‑after‑free at compile time while leaving performance unchanged. The demo uses Rust + clang + west, requires switching to the west update / main branch because 4.2’s Rust bits are buggy, and builds a static library via the CMake rust_cargo_application glue. A hello world flashed to an inexpensive Wi‑Fi MCU board succeeds, but samples expose stack‑size, alloc/alloc crate and logging caveats — Rust helps, but Zephyr integration remains work in progress.
AI-written summary · about
chapters (8)
- 0:00Rust in Zephyr intro
- 2:33Memory issues in Zephyr
- 10:05Rust memory solutions
- 17:23Setup Rust with Zephyr
- 19:33Hello World Zephyr Rust
- 21:21Rust Zephyr integration deep dive
- 27:44Summary Rust in Zephyr
- 41:06Q&A Rust Zephyr
related talks
45mCrabs Flying Kites: Writing a Zephyr Application in Rust
41mRust Meets Zephyr: Building Safer Embedded Applications
41mWhy Rust and Zephyr Are a Good Fit
36mUsing Zephyr with Non-C Languages
42mUpdate on Rust in Zephyr
42mUpdate on Rust in Zephyr
26mIntroducing Rust into a Legacy Embedded System
28mInterfacing Rust with Xen
