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 ecosystemConfigure 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-waitingWrite hard real-time systems with RTIC, including compile-time-proven deadlock freedomImplement robust error handling, panic strategies, and on-device logging with defmtTest embedded code without hardware using mocks, embedded-hal-mock, and model checking with KaniOptimize for power consumption, critical for battery-powered IoT devicesBuild and deploy firmware update (DFU/OTA) systems for production devicesThree 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
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.