diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/interrupt.rs | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/peripheral/mod.rs | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -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)] @@ -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; |