All examples pass with cargo xtask --target all

This commit is contained in:
Emil Fresk 2023-01-08 19:56:47 +01:00 committed by Henrik Tjäder
parent ceaf3613d3
commit 35c97b61c1
13 changed files with 28 additions and 21 deletions

View file

@ -34,10 +34,9 @@ mod app {
rtic::pend(Interrupt::UART0);
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
loop {
cortex_m::asm::nop();
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}
}

View file

@ -40,10 +40,9 @@ mod app {
rtic::pend(Interrupt::UART0);
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
loop {
cortex_m::asm::nop();
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}
}

View file

@ -39,6 +39,7 @@ mod app {
rtic::pend(Interrupt::UART1);
cortex_m::asm::nop();
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}

View file

@ -37,10 +37,9 @@ mod app {
rtic::pend(Interrupt::UART0);
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
loop {
cortex_m::asm::nop();
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}
}

View file

@ -62,6 +62,6 @@ mod app {
#[task(shared = [&shared])]
async fn bar(c: bar::Context) {
let shared: &NotSync = c.shared.shared;
hprintln!("foo a {}", shared.data);
hprintln!("bar a {}", shared.data);
}
}