aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/interrupt.rs2
-rw-r--r--src/lib.rs2
-rw-r--r--src/peripheral/mod.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 37338a2..690646e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,6 +10,6 @@ repository = "https://github.com/japaric/cortex-m"
version = "0.3.0"
[dependencies]
-mcu = { git = "https://github.com/japaric/mcu" }
aligned = "0.1.1"
+bare-metal = { git = "https://github.com/japaric/bare-metal" }
volatile-register = "0.2.0" \ No newline at end of file
diff --git a/src/interrupt.rs b/src/interrupt.rs
index 6d7e6ce..de11125 100644
--- a/src/interrupt.rs
+++ b/src/interrupt.rs
@@ -1,6 +1,6 @@
//! Interrupts
-pub use mcu::{CriticalSection, Mutex, Nr};
+pub use bare_metal::{CriticalSection, Mutex, Nr};
/// Disables all interrupts
#[inline(always)]
diff --git a/src/lib.rs b/src/lib.rs
index d4d019e..2b5f97c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,7 +15,7 @@
#![no_std]
extern crate aligned;
-extern crate mcu;
+extern crate bare_metal;
extern crate volatile_register;
#[macro_use]
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs
index 97c1762..8ee8cc9 100644
--- a/src/peripheral/mod.rs
+++ b/src/peripheral/mod.rs
@@ -7,7 +7,7 @@
use core::cell::UnsafeCell;
use core::ptr;
-pub use mcu::Peripheral;
+pub use bare_metal::Peripheral;
use volatile_register::{RO, RW, WO};
use interrupt::Nr;