diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-06-11 17:18:29 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-06-11 17:18:29 +0000 |
| commit | 602a5b4374961dbcf7f3290053ab9b01f0622c67 (patch) | |
| tree | d3e64006a7b310d34d82df7aa2a4467c03595e55 /homogeneous | |
| parent | 4a0393f756cc3ccd480f839eb6b6a9349326fe8e (diff) | |
Rename RTFM to RTIC
Diffstat (limited to 'homogeneous')
| -rw-r--r-- | homogeneous/Cargo.toml | 2 | ||||
| -rw-r--r-- | homogeneous/examples/smallest.rs | 2 | ||||
| -rw-r--r-- | homogeneous/examples/x-init-2.rs | 2 | ||||
| -rw-r--r-- | homogeneous/examples/x-init.rs | 2 | ||||
| -rw-r--r-- | homogeneous/examples/x-schedule.rs | 2 | ||||
| -rw-r--r-- | homogeneous/examples/x-spawn.rs | 2 | ||||
| -rw-r--r-- | homogeneous/src/lib.rs | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/homogeneous/Cargo.toml b/homogeneous/Cargo.toml index 210ee2e..111fe5d 100644 --- a/homogeneous/Cargo.toml +++ b/homogeneous/Cargo.toml @@ -9,7 +9,7 @@ version = "0.0.0-alpha.0" [dependencies] bare-metal = "0.2.4" -[dependencies.cortex-m-rtfm] +[dependencies.cortex-m-rtic] path = ".." features = ["homogeneous"] diff --git a/homogeneous/examples/smallest.rs b/homogeneous/examples/smallest.rs index b99476c..913e489 100644 --- a/homogeneous/examples/smallest.rs +++ b/homogeneous/examples/smallest.rs @@ -3,5 +3,5 @@ use panic_halt as _; -#[rtfm::app(cores = 2, device = homogeneous)] +#[rtic::app(cores = 2, device = homogeneous)] const APP: () = {}; diff --git a/homogeneous/examples/x-init-2.rs b/homogeneous/examples/x-init-2.rs index de35cf6..11caacd 100644 --- a/homogeneous/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 = homogeneous)] +#[rtic::app(cores = 2, device = homogeneous)] const APP: () = { struct Resources { // owned by core #1 but initialized by core #0 diff --git a/homogeneous/examples/x-init.rs b/homogeneous/examples/x-init.rs index c359901..0574279 100644 --- a/homogeneous/examples/x-init.rs +++ b/homogeneous/examples/x-init.rs @@ -7,7 +7,7 @@ use panic_halt as _; -#[rtfm::app(cores = 2, device = homogeneous)] +#[rtic::app(cores = 2, device = homogeneous)] const APP: () = { struct Resources { x: u32, diff --git a/homogeneous/examples/x-schedule.rs b/homogeneous/examples/x-schedule.rs index 12b5cb8..7c0b384 100644 --- a/homogeneous/examples/x-schedule.rs +++ b/homogeneous/examples/x-schedule.rs @@ -3,7 +3,7 @@ use panic_halt as _; -#[rtfm::app(cores = 2, device = homogeneous, monotonic = homogeneous::MT)] +#[rtic::app(cores = 2, device = homogeneous, monotonic = homogeneous::MT)] const APP: () = { #[init(core = 0, spawn = [ping])] fn init(c: init::Context) { diff --git a/homogeneous/examples/x-spawn.rs b/homogeneous/examples/x-spawn.rs index a76ac61..45bc900 100644 --- a/homogeneous/examples/x-spawn.rs +++ b/homogeneous/examples/x-spawn.rs @@ -3,7 +3,7 @@ use panic_halt as _; -#[rtfm::app(cores = 2, device = homogeneous)] +#[rtic::app(cores = 2, device = homogeneous)] const APP: () = { #[init(core = 0, spawn = [foo])] fn init(c: init::Context) { diff --git a/homogeneous/src/lib.rs b/homogeneous/src/lib.rs index 95ff184..1bda7c8 100644 --- a/homogeneous/src/lib.rs +++ b/homogeneous/src/lib.rs @@ -8,7 +8,7 @@ use core::{ }; use bare_metal::Nr; -use rtfm::{Fraction, Monotonic, MultiCore}; +use rtic::{Fraction, Monotonic, MultiCore}; // both cores have the exact same interrupts pub use Interrupt_0 as Interrupt_1; |
