Embedded Software with Rust with David Cabanis
Who is on this episode
Allen WymaHost
Episode notes
Allen Wyma talks with David Cabanis, author of Embedded Software with Rust, about bare-metal Rust, peripheral ownership, no_std applications, and moving existing C firmware toward Rust.
Contributing to Rustacean Station
Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!
Twitter: @rustaceanfm
Discord: Rustacean Station
Github: @rustacean-station
Email: hello@rustacean-station.org
Timestamps
[@00:00] - Rustacean Station intro
[@00:10] - Embedded Software with Rust and the scope of bare-metal development
[@02:47] - Meet David Cabanis: programming, microelectronics, and Doulos
[@05:45] - From Ada to teaching Rust and writing the book
[@07:32] - Rust ownership, hardware peripherals, and strong types
[@14:08] - Building a no_std application from scratch
Show all notes
[@19:15] - From reset to main: starting a bare-metal Rust program
[@23:28] - Calling between C and Rust with foreign function interfaces
[@29:48] - Migrating an existing C codebase to Rust gradually
[@36:24] - FFI assumptions: errors, strings, and complex types
[@42:06] - Debugging embedded Rust with familiar tools
[@49:55] - Beyond blinking an LED: PACs, HALs, and board support crates
[@57:06] - Learning by porting an existing hardware project
[@59:12] - Book prerequisites, examples, and the development VM
[@64:10] - Contacting David and finding training
[@65:57] - Low-cost boards and PICSimLab
Referenced resources
Embedded Software with Rust
Doulos
Credits
Intro Theme: Aerocity
Audio Editing: Plangora
Hosting Infrastructure: Jon Gjengset
Show Notes: Plangora
Hosts: Allen Wyma