aboutsummaryrefslogtreecommitdiff
path: root/mc/examples/smallest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mc/examples/smallest.rs')
-rw-r--r--mc/examples/smallest.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mc/examples/smallest.rs b/mc/examples/smallest.rs
new file mode 100644
index 00000000..792935a8
--- /dev/null
+++ b/mc/examples/smallest.rs
@@ -0,0 +1,7 @@
+#![no_main]
+#![no_std]
+
+use panic_halt as _;
+
+#[rtfm::app(cores = 2, device = mc)]
+const APP: () = {};