Help with Async Embedded

Basically, I just wanted to start a thread about the current state of async within the embedded community. I've seen that GitHub - embassy-rs/embassy: Modern embedded framework, using Rust and async. exists with some support. There was also GitHub - rust-embedded-community/async-on-embedded which looks closer to a small crate I could drop into my project, but alas, not quite.

My current project is making use of arduino_nano33iot::hal, but I'd like to be able to use async with it. E.g.

task::spawn(async {
    loop {
        led.toggle();
        delay(100);
    }
});

Or something similar.

Can anyone share some advice or resources on this? Or general advice about async and embedded?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.