async-on-embedded icon indicating copy to clipboard operation
async-on-embedded copied to clipboard

async-on-embedded

async fn / .await on embedded (Cortex-M edition): no-global-alloc, no-threads runtime

Status: Proof of Concept. Do not use in production.

NOTE: Embassy is a maintained, production executor and library with similar functionality.

NOTE: This library contains known bugs.


Check nrf52/examples for an overview of what can be done with the runtime.

NOTE You need a rustc build that includes PR rust-lang/rust#69033

License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Provenance

This work was originally developed by Ferrous Systems, as part of our async-on-embedded investigation.

You can read more about the initial development efforts on the blog posts we wrote on the topic: