We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a694513 commit ffcc983Copy full SHA for ffcc983
src/generate.rs
@@ -73,12 +73,12 @@ pub fn device(
73
}
74
75
items.push(quote! {
76
- extern crate mcu;
+ extern crate bare_metal;
77
extern crate vcell;
78
79
use core::ops::Deref;
80
81
- use mcu::Peripheral;
+ use bare_metal::Peripheral;
82
});
83
84
if let Some(cpu) = d.cpu.as_ref() {
@@ -155,7 +155,7 @@ pub fn interrupt(
155
let mut pos = 0;
156
let mut mod_items = vec![];
157
mod_items.push(quote! {
158
- use mcu::Nr;
+ use bare_metal::Nr;
159
160
for interrupt in &interrupts {
161
while pos < interrupt.value {
0 commit comments