10 ms·
The embedded Rust story, at least for small projects on cortex series MCUs is pretty good. There is embedded-hal which just reached v1.0. This lets anyone to wr
by mlsu 3y ago
The embedded Rust story, at least for small projects on cortex series MCUs is pretty good. There is embedded-hal which just reached v1.0. This lets anyone to write a HAL against those traits and have drivers and application code across the whole ecosystem be compatible. Traits make it very easy to write portable code. STM32 series have good, relatively fully featured HAL crates.
On the tooling side, probe-rs is very nice and lets you get up and running with RTT + debug quickly.
The RTOS ecosystem is vibrant. Of note:
- The focus of most iot development seems to be embassy-rs
- I am building a project with hard real-time guarantees with RTIC and it's been pretty straightforward so far
- Oxide's Hubris looks interesting
If I were going to write a relatively simple, very high reliability system on an STM32 platform, I would do it in Rust without hesitation. (I am currently doing exactly this)