The subconscious mumblings of therealprof

Everything you ever wanted to know about electronics, embedded programming, Rust and life in general...

Rust Roadmap 2021: Adding a useful dev mode and making it the default

In this blog entry following the Call for Rust 2021 Roadmap items, I shall layout my vision for giving Rust the ability to create debuggable binaries which will also fit in the flash of a microcontroller.

Continue Reading →

Rust Roadmap 2021: Allowing for arbitrary size integer primitives

In this blog entry following the Call for Rust 2021 Roadmap items, I shall layout my vision for giving Rust the ability to use arbitrarily sized integer primitives.

Continue Reading →

Revamping Rust Embedded Error Handling - a case for embedded-error

In this blog post we'll have a look at error handling in Rust embedded scenarios. How does this work at the moment, what are the user expectations and what can we do to make error handling future proof?

Continue Reading →

Introducing: The USB-C pill

In this blog entry I will explore a new excellent and cheap embedded hardware board I came across in the context of embedded Rust. This is done in the hope that people will jump on it and drop the crapadelic boards known as "BluePill" like a hot potato.

Continue Reading →

A look into ways to implement and share data with interrupt handlers in Rust (Update 1)

In this blog entry I will explain a bit what interrupts are and they work in embedded systems and compare various interrupt implementation and sharing methods in Rust.

Update 2020-03-06: @jamesmunns has provided a new version of cmim which allows to use the SysTick exception and an adaption of the example for it so I updated this post accordingly.

Continue Reading →