Skip to content

Commit ec0d649

Browse files
bugadaniDániel Buga
andauthored
Update RTIC and replace mentions of the old deprecated name (#128)
Co-authored-by: Dániel Buga <[email protected]>
1 parent f5aa1d7 commit ec0d649

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ version = "0.6.0"
3030
[dev-dependencies]
3131
cortex-m = "0.6.2"
3232
cortex-m-rt = "0.6.12"
33-
cortex-m-rtfm = "0.5.1"
33+
cortex-m-rtic = "0.5.3"
3434
panic-halt = "0.2.0"
3535

3636
# Used to load BMP images in various examples

examples/rtfm_brightness.rs renamed to examples/rtic_brightness.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use embedded_graphics::{
1212
geometry::Point, image::Image, pixelcolor::BinaryColor, prelude::*, primitives::Rectangle,
1313
};
1414
use panic_halt as _;
15-
use rtfm::app;
15+
use rtic::app;
1616
use ssd1306::{prelude::*, Builder};
1717
use stm32f1xx_hal::{
1818
delay::Delay,
@@ -111,7 +111,7 @@ const APP: () = {
111111

112112
let bmp = Bmp::from_slice(include_bytes!("dvd.bmp")).unwrap();
113113

114-
// Init the static resources to use them later through RTFM
114+
// Init the static resources to use them later through RTIC
115115
init::LateResources {
116116
timer,
117117
display,

examples/rtfm_dvd.rs renamed to examples/rtic_dvd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use embedded_graphics::{
1313
geometry::Point, image::Image, pixelcolor::BinaryColor, prelude::*, primitives::Rectangle,
1414
};
1515
use panic_halt as _;
16-
use rtfm::app;
16+
use rtic::app;
1717
use ssd1306::{prelude::*, Builder};
1818
use stm32f1xx_hal::{
1919
delay::Delay,
@@ -111,7 +111,7 @@ const APP: () = {
111111

112112
let bmp = Bmp::from_slice(include_bytes!("dvd.bmp")).unwrap();
113113

114-
// Init the static resources to use them later through RTFM
114+
// Init the static resources to use them later through RTIC
115115
init::LateResources {
116116
timer,
117117
display,

0 commit comments

Comments
 (0)