aboutsummaryrefslogtreecommitdiff
path: root/homogeneous/examples/smallest.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2019-06-18 10:31:31 +0200
committerGravatar Jorge Aparicio <jorge@japaric.io> 2019-06-18 10:31:31 +0200
commit9897728709528a02545523bea72576abce89dc4c (patch)
tree49619bfb8e3e09cccbc9c2bd1854abfe1618c8fd /homogeneous/examples/smallest.rs
parent81275bfa4f41e2066770087f3a33cad4227eab41 (diff)
downloadrtic-9897728709528a02545523bea72576abce89dc4c.tar.gz
rtic-9897728709528a02545523bea72576abce89dc4c.tar.zst
rtic-9897728709528a02545523bea72576abce89dc4c.zip
add homogeneous multi-core support
Diffstat (limited to 'homogeneous/examples/smallest.rs')
-rw-r--r--homogeneous/examples/smallest.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/homogeneous/examples/smallest.rs b/homogeneous/examples/smallest.rs
new file mode 100644
index 00000000..b99476c7
--- /dev/null
+++ b/homogeneous/examples/smallest.rs
@@ -0,0 +1,7 @@
+#![no_main]
+#![no_std]
+
+use panic_halt as _;
+
+#[rtfm::app(cores = 2, device = homogeneous)]
+const APP: () = {};