A comprehensive guide for embedded engineers to get started with Rust for microcontroller development. This tutorial is designed for engineers with C language experience who want to transition to Rust for embedded systems.
Main Site: https://adancurusul.github.io/Rust-Embedded-Tutorial-for-Engineers/
- Preface: Challenges in MCU Development and the Value of Rust
- Environment Setup: Advantages of Modern Toolchains
- Type System: Compile-Time Safety and Zero-Cost Abstractions
- Embedded-HAL: Cross-Platform Ecosystem
- Embedded Async Programming: A New Paradigm for Embedded Systems
- Basic Example: SSD1306 OLED Display
- Integrating Rust into STM32 C Projects
- Using Vec and Other Containers in Embedded Systems
- Rust Development for ESP32
Contributions are welcome! Please submit issues or pull requests for content improvements, bug reports, or suggestions.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.