Restrict to pacs supporting i2s

This commit is contained in:
Christian Perez Llamas
2022-11-10 23:13:01 +01:00
parent f22f36f51b
commit 4a2e810485
3 changed files with 6 additions and 3 deletions

View File

@ -74,7 +74,11 @@ pub mod buffered_uarte;
pub mod gpio;
#[cfg(feature = "gpiote")]
pub mod gpiote;
// #[cfg(all(feature = "i2s", feature = "nrf52840"))]
#[cfg(any(
feature = "nrf52832",
feature = "nrf52833",
feature = "nrf52840",
))]
pub mod i2s;
#[cfg(not(any(feature = "_nrf5340", feature = "_nrf9160")))]
pub mod nvmc;