Move rtic macros to repo root, tune xtask

This commit is contained in:
Henrik Tjäder 2023-02-04 16:47:17 +01:00
parent 4124fbdd61
commit 9e445b3583
134 changed files with 31 additions and 29 deletions

View file

@ -0,0 +1,16 @@
#![no_main]
#[rtic_macros::mock_app(device = mock)]
mod app {
#[shared]
struct Shared {}
#[local]
struct Local {}
#[task(local = [A])]
async fn foo(_: foo::Context) {}
#[init]
fn init(_: init::Context) -> (Shared, Local) {}
}