From a5795a8f45f73099d88817fc8eb6c265689b862e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 3 Mar 2021 08:55:19 +0100 Subject: Remove keyword single for all tests --- ui/single/locals-cfg.rs | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 ui/single/locals-cfg.rs (limited to 'ui/single/locals-cfg.rs') diff --git a/ui/single/locals-cfg.rs b/ui/single/locals-cfg.rs deleted file mode 100644 index 72e2aca..0000000 --- a/ui/single/locals-cfg.rs +++ /dev/null @@ -1,49 +0,0 @@ -#![no_main] -use panic_halt as _; - -#[rtic::app(device = lm3s6965, dispatchers = [SSI0])] -mod app { - #[init] - fn init(_: init::Context) -> (init::LateResources, init::Monotonics) { - #[cfg(never)] - static mut FOO: u32 = 0; - - FOO; - - (init::LateResources {}, init::Monotonics()) - } - - #[idle] - fn idle(_: idle::Context) -> ! { - #[cfg(never)] - static mut FOO: u32 = 0; - - FOO; - - loop {} - } - - #[task(binds = SVCall)] - fn svcall(_: svcall::Context) { - #[cfg(never)] - static mut FOO: u32 = 0; - - FOO; - } - - #[task(binds = UART0)] - fn uart0(_: uart0::Context) { - #[cfg(never)] - static mut FOO: u32 = 0; - - FOO; - } - - #[task] - fn foo(_: foo::Context) { - #[cfg(never)] - static mut FOO: u32 = 0; - - FOO; - } -} -- cgit v1.2.3