Make the 'avr-std-stub' dependency optional
This way, downstream users may user their own panic handlers and exception handling personality functions if they desire.
This commit is contained in:
parent
921b305cc1
commit
9904454521
|
@ -9,6 +9,8 @@
|
||||||
|
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
|
#[cfg(feature = "avr-std-stub")] 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