Inhaltsangabe
Stop fighting undefined behavior. Start shipping firmware that doesn't crash.
If you've spent years writing embedded C or C++, you already know the cost of a single dangling pointer, buffer overflow, or data race: weeks of debugging with a logic analyzer, a product recall, or a 3 AM page when a device bricks itself in the field. Rust eliminates entire categories of these bugs at compile time, without sacrificing the performance or hardware control that embedded systems demand.
This book is your complete, hands-on roadmap from C/C++ firmware engineer to confident embedded Rust developer.
You'll go far beyond "blink an LED." Across 18 chapters and three full capstone projects, you'll learn to:
- Master no_std Rust and bare-metal programming fundamentals: registers, memory-mapped I/O, and the embedded-hal ecosystem
- Configure and drive UART, SPI, I²C, ADC, PWM, and DMA on real hardware (STM32F4, nRF52840, RP2040, and ESP32-C3)
- Build responsive, efficient firmware with Embassy's async/await: no RTOS, no heap, no busy-waiting
- Write hard real-time systems with RTIC, including compile-time-proven deadlock freedom
- Implement robust error handling, panic strategies, and on-device logging with defmt
- Test embedded code without hardware using mocks, embedded-hal-mock, and model checking with Kani
- Optimize for power consumption, critical for battery-powered IoT devices
- Build and deploy firmware update (DFU/OTA) systems for production devices
Three complete, production-representative capstone projects, an industrial Modbus/LTE-M sensor gateway, a closed-loop motor controller, and a LoRaWAN sensor node, show you exactly how these techniques combine in real systems. Full source code is provided in a companion GitHub repository, ready to clone, flash, and modify.
Whether you're a firmware engineer transitioning from C, an embedded hobbyist ready to go pro, or a systems programmer curious about Rust's growing role in IoT and real-time applications, this book gives you the practical, code-first foundation to build safer, more reliable embedded systems, starting today.
Scroll up and grab your copy to start writing firmware that the borrow checker has your back on.Covers: embedded Rust, Rust microcontroller programming, no_std, RTIC, Embassy framework, STM32, nRF52840, RP2040, ESP32-C3, IoT firmware development, real-time embedded systems, Rust for embedded systems, embedded systems programming, firmware development with Rust
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.