Skip to content

Commit 47eb470

Browse files
committed
renamed async-cortex-m to async-embedded as it's now generic over Cortex-M and RISC-V ISA's
1 parent 8918a9c commit 47eb470

23 files changed

+16
-16
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
members = [
3-
"async-cortex-m",
3+
"async-embedded",
44
"cortex-m-udf",
55
"nrf52",
66
"panic-udf",

async-cortex-m/Cargo.toml renamed to async-embedded/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Jorge Aparicio <[email protected]>"]
33
edition = "2018"
44
license = "MIT OR Apache-2.0"
5-
name = "async-cortex-m"
5+
name = "async-embedded"
66
publish = false
77
version = "0.0.0-alpha.0"
88

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

nrf52/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ panic-semihosting = "0.5.3"
1515
panic-udf = { path = "../panic-udf" }
1616

1717
[dependencies]
18-
async-cortex-m = { path = "../async-cortex-m", features = ["isa-cortex-m"] }
18+
async-embedded = { path = "../async-embedded", features = ["isa-cortex-m"] }
1919
cortex-m = "0.6.2"
2020
cortex-m-rt = "0.6.12"
2121
pac = { package = "nrf52840-pac", version = "0.9.0", features = ["rt"] }

nrf52/examples/1-yield.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#![no_main]
1616
#![no_std]
1717

18-
use async_cortex_m::task;
18+
use async_embedded::task;
1919
use cortex_m::asm;
2020
use cortex_m_rt::entry;
2121
use cortex_m_semihosting::hprintln;

nrf52/examples/2-share.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
use core::cell::{Cell, RefCell};
1919

20-
use async_cortex_m::task;
20+
use async_embedded::task;
2121
use cortex_m::asm;
2222
use cortex_m_rt::entry;
2323
use cortex_m_semihosting::hprintln;

nrf52/examples/3-mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#![no_main]
2929
#![no_std]
3030

31-
use async_cortex_m::{task, unsync::Mutex};
31+
use async_embedded::{task, unsync::Mutex};
3232
use cortex_m::asm;
3333
use cortex_m_rt::entry;
3434
use cortex_m_semihosting::hprintln;

nrf52/examples/4-channel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#![no_main]
1717
#![no_std]
1818

19-
use async_cortex_m::{task, unsync::Channel};
19+
use async_embedded::{task, unsync::Channel};
2020
use cortex_m::asm;
2121
use cortex_m_rt::entry;
2222
use cortex_m_semihosting::hprintln;

nrf52/examples/5-heartbeat.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
use core::time::Duration;
1919

20-
use async_cortex_m::task;
20+
use async_embedded::task;
2121
use cortex_m_rt::entry;
2222
use nrf52::{led::Red, timer::Timer};
2323
use panic_udf as _; // panic handler

nrf52/examples/6-hello.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use core::time::Duration;
1212

13-
use async_cortex_m::task;
13+
use async_embedded::task;
1414
use cortex_m_rt::entry;
1515
use nrf52::{led::Red, serial, timer::Timer};
1616
use panic_udf as _; // panic handler

nrf52/examples/7-echo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use core::time::Duration;
1212

13-
use async_cortex_m::task;
13+
use async_embedded::task;
1414
use cortex_m_rt::entry;
1515
use nrf52::{led::Red, serial, timer::Timer};
1616
use panic_udf as _; // panic handler

nrf52/examples/8-sensor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use core::{cell::Cell, fmt::Write as _, time::Duration};
99

10-
use async_cortex_m::{task, unsync::Mutex};
10+
use async_embedded::{task, unsync::Mutex};
1111
use cortex_m_rt::entry;
1212
use heapless::{consts, String};
1313
use nrf52::{led::Red, scd30::Scd30, serial, timer::Timer, twim::Twim};

nrf52/examples/9-clock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use core::{
3131
time::Duration,
3232
};
3333

34-
use async_cortex_m::{task, unsync::Mutex};
34+
use async_embedded::{task, unsync::Mutex};
3535
use chrono::{Datelike as _, NaiveDate, NaiveTime};
3636
use cortex_m_rt::entry;
3737
use heapless::{consts, String, Vec};

nrf52/src/ds3231.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
// Reference: DS3231 datasheet (19-5170; Rev 10; 3/15)
44

5-
use async_cortex_m::unsync::Mutex;
5+
use async_embedded::unsync::Mutex;
66
use chrono::{Datelike as _, NaiveDate, NaiveDateTime, NaiveTime, Timelike as _};
77

88
use crate::twim::{self, Twim};

nrf52/src/scd30.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Reference: Interface Description Sensirion SCD30 Sensor Module (Version
44
// 0.94–D1 –June 2019)
55

6-
use async_cortex_m::unsync::Mutex;
6+
use async_embedded::unsync::Mutex;
77

88
use crate::twim::{self, Twim};
99

0 commit comments

Comments
 (0)