rust

Writing a Rust Driver for the MPU6050

I've recently explored Rust for embedded systems development and found it refreshingly intuitive compared to traditional C and C++ workflows. Rust simplifies setup and debugging, eliminating complex build processes typical in C/C++. To understand better how rust works on embedded systems, I built a minimal MPU-6050 IMU sensor driver using the Embassy framework on an STM32F103C8 (BluePill) microcontroller.

Writing a small async runtime for Cortex-M micro-controllers with Rust

This article explores how to create a custom async runtime for ARM Cortex-M microcontrollers. We'll adapt Philipp Oppermann's work for x86 bare-metal systems to Cortex-M and design a simple Task struct and Executor to run async tasks.

Blinking LEDs with Rust

Rust is a modern programming language focused on safety, speed, and concurrency. It’s a go-to for system-level tasks, offering strong guarantees against common bugs like null pointer dereferences. Embedded systems, with their resource constraints and real-time demands, could really benefit from more Rust.