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.<p>On the tooling side, probe-rs is very nice and lets you get up and running with RTT + debug quickly.<p>The RTOS ecosystem is vibrant. Of note:<p>- The focus of most iot development seems to be embassy-rs<p>- I am building a project with hard real-time guarantees with RTIC and it's been pretty straightforward so far<p>- Oxide's Hubris looks interesting<p>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)
There's so much good embedded OS work happening. These Bluetooth, wifi, matter problems? Pretty well tackled by Zephyr & others.<p>It'll be interesting to see if "rewrite it in Rust" really can re-do all these efforts satisfactorily. Or to see how Rust & C interop goes (as Linux is doing). Or whether Rust remains useful & awesome on embedded if and only if you don't need complex protocols and device drivers.