The article received an update on

Life is not always as predictable as one expects, but I finally made it through the Rust Embedded MB2 Discovery Book!

The book gave a practical introduction to developing embedded applications using Rust. Using examples to demonstrate core concepts the book has given me a basic understanding of how to use the different hardware abstraction layers. It also helped me set up the toolchain to build, flash and debug the application on the device. I can now program basic applications that can communicate with the computer using UARTE and the sensors on the board. It also introduced me to interrupt handling and concurrency, and how to display information using the boards LED-matrix.

I know I've barely gotten my toes wet, but this is a good start!

Next, I will go through the Embedded Rust Book, which uses the STM32F3DISCOVERY development board. I do not own such board so I don't know how far I will get using the Micro:bit. The two boards have similar microcontroller architecture, the ARM Cortex-M4, but that is about it. The STM32F3DISCOVERY is an affordable board that is readily available if it is too limiting and cumbersome to work through the book using the Micro:bit.

Thank you for reading!

Resources