wip tests do not pass

This commit is contained in:
Per Lindgren 2021-11-03 16:10:10 +01:00
parent cbde2c7ef9
commit 20602bd77c
8 changed files with 90 additions and 6 deletions

View file

@ -29,10 +29,10 @@ mod app {
cx.shared.lock(|x| *x.shared += 1);
}
#[task(binds = GPIOB, priority = 2, shared = [shared])]
fn high(mut cx: high::Context) {
cx.shared.lock(|x| *x.shared += 1);
}
// #[task(binds = GPIOB, priority = 2, shared = [shared])]
// fn high(mut cx: high::Context) {
// cx.shared.lock(|x| *x.shared += 1);
// }
}
// cargo objdump --example lockall_cost --target thumbv7m-none-eabi --release --features inline-asm -- --disassemble > lockall_cost.ojbdump