Foreword: I assume in this series that you are :

If you want to learn more about Rust, I encourage you to read The Book. You can find all the documentation you need on the rust-lang documentation page.


I will try to publish here a series of articles about my approach to embedded development and how I plan to achieve that in Rust. Embedded system development is not so far from regular application development in that we want it:

However, the deeply embedded world has some additional constraints such as:

It is also well known that the world is highly unpredictable and if one thing is pretty certain, it is that the product will fail at some point. In that case, we often cannot afford to ask someone (a customer or an agent) to reboot or power cycle the device. We want it to be bug free or at least able to recover on its own. We also want (at least during dev phase) the system to tell us if/when/why such a dramatic failure occurred.

And as if it wasn’t yet too complicated, the industry itself adds its own constraints to this soup. The “volatility” of devs requires the handover process to be as efficient as possible not to impair the “productivity”. I mean that while handing over a project, people should focus on the product itself rather than the tools used to build/generate/deploy/debug/… it.

In the next posts I’ll talk about the following topics (links will be added as the articles get published):

I know that all this might sound/look abstract. To make this more concrete, I’ll use as a demo project an IoT enabled 3D printer (based on my Anet A6 and Flsun 3D). I’ll start working on a Cortex-M based motherboard because AVR is not yet supported in the mainstream Rust compiler. However, as I want this framework to work across platforms, the same application code must run on all targets seamlessly.