aboutsummaryrefslogtreecommitdiff
path: root/examples/baseline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/baseline.rs')
-rw-r--r--examples/baseline.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/baseline.rs b/examples/baseline.rs
index 0b7e3ea0..82f1887e 100644
--- a/examples/baseline.rs
+++ b/examples/baseline.rs
@@ -5,13 +5,14 @@
#![no_main]
#![no_std]
-use cortex_m_semihosting::{debug, hprintln};
-use lm3s6965::Interrupt;
use panic_semihosting as _;
// NOTE: does NOT properly work on QEMU
#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)]
mod app {
+ use cortex_m_semihosting::{debug, hprintln};
+ use lm3s6965::Interrupt;
+
#[init]
fn init(cx: init::Context) -> init::LateResources {
// omitted: initialization of `CYCCNT`