embassy-executor 0.10.0

async/await executor designed for embedded usage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[path = "./build_common.rs"]
mod common;

fn main() {
    let mut rustc_cfgs = common::CfgSet::new();
    common::set_target_cfgs(&mut rustc_cfgs);

    // This is used to exclude legacy architecture support. The raw executor needs to be used for
    // those architectures because SEV/WFE are not supported.
    #[cfg(feature = "platform-cortex-ar")]
    arm_targets::process();
}