stub out the embassy registers for usbd

This commit is contained in:
Jacob Rosenthal
2021-12-13 17:50:08 -07:00
parent e5dc63e8e9
commit 83a1237ea3
4 changed files with 81 additions and 22 deletions

View File

@ -7,6 +7,10 @@ pub const FORCE_COPY_BUFFER_SIZE: usize = 512;
pub const FLASH_SIZE: usize = 1024 * 1024;
embassy_hal_common::peripherals! {
// USB
USBD,
// RTC
RTC0,
RTC1,
@ -157,6 +161,8 @@ embassy_hal_common::peripherals! {
TEMP,
}
impl_usb!(USBD, USBD, USBD);
impl_uarte!(UARTE0, UARTE0, UARTE0_UART0);
impl_uarte!(UARTE1, UARTE1, UARTE1);