enable USB peripheral for relevant chips

This commit is contained in:
Jacob Rosenthal
2021-12-15 10:11:00 -07:00
parent 1c0a3688a4
commit 61f12324ff
7 changed files with 70 additions and 14 deletions

View File

@ -48,8 +48,12 @@ pub mod temp;
pub mod timer;
pub mod twim;
pub mod uarte;
//todo add nrf52833 nrf52840
#[cfg(feature = "nrf52840")]
#[cfg(any(
feature = "_nrf5340-app",
feature = "nrf52820",
feature = "nrf52833",
feature = "nrf52840"
))]
pub mod usb;
#[cfg(not(feature = "_nrf5340"))]
pub mod wdt;