Use the std stub definitions from the 'avr-std-stub' crate
This commit is contained in:
parent
6dfffaa3f9
commit
869113a693
|
@ -20,6 +20,7 @@ build = "core_generator/build.rs"
|
||||||
keywords = ["avr", "arduino", "uno"]
|
keywords = ["avr", "arduino", "uno"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
avr-std-stub = "1.0"
|
||||||
target-cpu-macro = "0.1"
|
target-cpu-macro = "0.1"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
|
extern crate avr_std_stub;
|
||||||
|
|
||||||
pub use self::register::{Register, RegisterBits, RegisterValue};
|
pub use self::register::{Register, RegisterBits, RegisterValue};
|
||||||
pub use self::pin::{DataDirection, Pin};
|
pub use self::pin::{DataDirection, Pin};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue