Add unstable feature to give access to the pac

This commit is contained in:
Thales Fragoso
2021-05-22 15:22:00 -03:00
parent 2605dabca3
commit a0fe9e4645
4 changed files with 11 additions and 2 deletions

View File

@ -25,7 +25,11 @@ pub mod spi;
pub mod usart;
// This must go LAST so that it sees the `impl_foo!` macros
#[cfg(feature = "pac")]
pub mod pac;
#[cfg(not(feature = "pac"))]
mod pac;
pub mod time;
pub use embassy_macros::interrupt;