flâneur — a map of the web's best reading

async/await on embedded Rust - Ferrous Systems

ferrous-systems.com · 4,521 words · saved by 1 readers

In a previous post we explored what needs to be done on the rustc side to bring async/await to no_std Rust. In this post we'll explore what could be done once async/await is available in no_std land and why we think async/await is a big deal for embedded...

Do you need help with coding? Get in touch Get updates In a previous post we explored what needs to be done on the rustc side to bring async/await to no_std Rust. In this post we'll explore what could be done once async/await is available in no_std land and why we think async/await is a big deal for embedded development. From blocking to non-blocking A blocking blinky program looks like this: use cortex_m_rt :: entry ; use embedded_hal :: blocking :: DelayMs as _ ; // `delay_ms` trait use hal ::{ Led , Timer }; #[entry] fn main () -> ! { let mut led = Led :: new (); let mut timer = Timer :: ne

Explore this link on the map →

saved by

related reading