Rename RTFM to RTIC

This commit is contained in:
Henrik Tjäder 2020-06-11 17:18:29 +00:00
parent 4a0393f756
commit 602a5b4374
129 changed files with 454 additions and 454 deletions

View file

@ -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"]

View file

@ -3,5 +3,5 @@
use panic_halt as _;
#[rtfm::app(cores = 2, device = homogeneous)]
#[rtic::app(cores = 2, device = homogeneous)]
const APP: () = {};

View file

@ -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

View file

@ -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,

View file

@ -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) {

View file

@ -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) {

View file

@ -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;