aboutsummaryrefslogtreecommitdiff
path: root/homogeneous/examples/x-init-2.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/x-init-2.rs
parent81275bfa4f41e2066770087f3a33cad4227eab41 (diff)
downloadrtic-9897728709528a02545523bea72576abce89dc4c.tar.gz
rtic-9897728709528a02545523bea72576abce89dc4c.tar.zst
rtic-9897728709528a02545523bea72576abce89dc4c.zip
add homogeneous multi-core support
Diffstat (limited to '')
-rw-r--r--homogeneous/examples/x-init-2.rs (renamed from mc/examples/x-init-2.rs)2
1 files changed, 1 insertions, 1 deletions
diff --git a/mc/examples/x-init-2.rs b/homogeneous/examples/x-init-2.rs
index ff48b110..f51e2f6e 100644
--- a/mc/examples/x-init-2.rs
+++ b/homogeneous/examples/x-init-2.rs
@@ -7,7 +7,7 @@
use panic_halt as _;
-#[rtfm::app(cores = 2, device = mc)]
+#[rtfm::app(cores = 2, device = homogeneous)]
const APP: () = {
extern "C" {
// owned by core #1 but initialized by core #0