aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-06 16:09:16 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-06 16:09:16 -0500
commit404294648a507401f095cb9d261a2b606588a1b0 (patch)
treef0690214144b02922cfcc2dd5d6c680936451b4e /src
parentd383d40459d1b6cba7ec2fd9f45b10439a6dbac4 (diff)
downloadcortex-m-404294648a507401f095cb9d261a2b606588a1b0.tar.gz
cortex-m-404294648a507401f095cb9d261a2b606588a1b0.tar.zst
cortex-m-404294648a507401f095cb9d261a2b606588a1b0.zip
mcu -> bare-metal
Diffstat (limited to 'src')
-rw-r--r--src/interrupt.rs2
-rw-r--r--src/lib.rs2
-rw-r--r--src/peripheral/mod.rs2
3 files changed, 3 insertions, 3 deletions
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;