diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-07-08 23:18:44 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-07-08 23:18:44 +0200 |
| commit | 8f3704378295fe8007290dbddbc1f4946ac599f9 (patch) | |
| tree | 3969e6f6bccfd16e187d7d5ccd56d269d3d9bb9e /examples/t-stask-main.rs | |
| parent | 98d2af9d73da56910c8bb6cb662fbc4d609a704a (diff) | |
Cleanup from review (needs releases to compile)
Diffstat (limited to 'examples/t-stask-main.rs')
| -rw-r--r-- | examples/t-stask-main.rs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/examples/t-stask-main.rs b/examples/t-stask-main.rs deleted file mode 100644 index ee5959d..0000000 --- a/examples/t-stask-main.rs +++ /dev/null @@ -1,29 +0,0 @@ -#![deny(unsafe_code)] -#![deny(warnings)] -#![no_main] -#![no_std] - -use panic_semihosting as _; - -#[rtic::app(device = lm3s6965, dispatchers = [SSI0])] -mod app { - use cortex_m_semihosting::debug; - - #[shared] - struct Shared {} - - #[local] - struct Local {} - - #[init] - fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { - taskmain::spawn().ok(); - - (Shared {}, Local {}, init::Monotonics()) - } - - #[task] - fn taskmain(_: taskmain::Context) { - debug::exit(debug::EXIT_SUCCESS); - } -} |
