aboutsummaryrefslogtreecommitdiff
path: root/homogeneous/examples/x-spawn.rs
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-01 17:09:25 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-01 17:48:53 +0000
commitd2151ccbf935da23d44c183f1ddb185c7ad83bfa (patch)
tree8136a672825057484e201aa8d2a609cf3773672a /homogeneous/examples/x-spawn.rs
parentd06cf91acc1126e66002f8884b1e7b7a65a9b24a (diff)
downloadrtic-d2151ccbf935da23d44c183f1ddb185c7ad83bfa.tar.gz
rtic-d2151ccbf935da23d44c183f1ddb185c7ad83bfa.tar.zst
rtic-d2151ccbf935da23d44c183f1ddb185c7ad83bfa.zip
Remove all of heterogeneous and homogeneous modules
Diffstat (limited to 'homogeneous/examples/x-spawn.rs')
-rw-r--r--homogeneous/examples/x-spawn.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/homogeneous/examples/x-spawn.rs b/homogeneous/examples/x-spawn.rs
deleted file mode 100644
index 45bc9003..00000000
--- a/homogeneous/examples/x-spawn.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-#![no_main]
-#![no_std]
-
-use panic_halt as _;
-
-#[rtic::app(cores = 2, device = homogeneous)]
-const APP: () = {
- #[init(core = 0, spawn = [foo])]
- fn init(c: init::Context) {
- c.spawn.foo().ok();
- }
-
- #[task(core = 1)]
- fn foo(_: foo::Context) {}
-
- extern "C" {
- #[core = 1]
- fn I0();
- }
-};