Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions arduino-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ compile_error!(
#[doc(cfg(feature = "rt"))]
pub use avr_device::entry;

/// Reexport of the [`avr_device`](https://docs.rs/avr-device) crate.
///
/// This makes items such as `avr_device::interrupt` available without depending
/// on `avr-device` directly and keeping its version in sync manually.
pub use avr_device;

#[doc(no_inline)]
#[cfg(feature = "mcu-atmega")]
pub use atmega_hal as hal;
Expand Down
6 changes: 6 additions & 0 deletions mcu/atmega-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ pub use avr_device::atmega88p as pac;
#[cfg(feature = "rt")]
pub use avr_device::entry;

/// Reexport of the [`avr_device`](https://docs.rs/avr-device) crate.
///
/// This makes items such as `avr_device::interrupt` available without depending
/// on `avr-device` directly and keeping its version in sync manually.
pub use avr_device;

#[cfg(feature = "device-selected")]
pub use pac::Peripherals;

Expand Down
6 changes: 6 additions & 0 deletions mcu/attiny-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ pub use avr_device::attiny88 as pac;
#[cfg(feature = "rt")]
pub use avr_device::entry;

/// Reexport of the [`avr_device`](https://docs.rs/avr-device) crate.
///
/// This makes items such as `avr_device::interrupt` available without depending
/// on `avr-device` directly and keeping its version in sync manually.
pub use avr_device;

#[cfg(feature = "device-selected")]
pub use pac::Peripherals;

Expand Down
Loading