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

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