diff options
| author | Jacob Rosenthal <[email protected]> | 2021-12-13 17:50:08 -0700 |
|---|---|---|
| committer | Jacob Rosenthal <[email protected]> | 2021-12-13 18:04:54 -0700 |
| commit | 83a1237ea3f8b164749cb895b7bdb7a5696107f6 (patch) | |
| tree | 93b4a873ebcaf88eadc35fd33e39c3b4f1817845 /embassy-nrf/src/chips | |
| parent | e5dc63e8e99d1d818ed7ab3b13ffff3ee2c40a3d (diff) | |
stub out the embassy registers for usbd
Diffstat (limited to 'embassy-nrf/src/chips')
| -rw-r--r-- | embassy-nrf/src/chips/nrf52840.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/embassy-nrf/src/chips/nrf52840.rs b/embassy-nrf/src/chips/nrf52840.rs index f5b90cd5a..5aea06524 100644 --- a/embassy-nrf/src/chips/nrf52840.rs +++ b/embassy-nrf/src/chips/nrf52840.rs | |||
| @@ -7,6 +7,10 @@ pub const FORCE_COPY_BUFFER_SIZE: usize = 512; | |||
| 7 | pub const FLASH_SIZE: usize = 1024 * 1024; | 7 | pub const FLASH_SIZE: usize = 1024 * 1024; |
| 8 | 8 | ||
| 9 | embassy_hal_common::peripherals! { | 9 | embassy_hal_common::peripherals! { |
| 10 | |||
| 11 | // USB | ||
| 12 | USBD, | ||
| 13 | |||
| 10 | // RTC | 14 | // RTC |
| 11 | RTC0, | 15 | RTC0, |
| 12 | RTC1, | 16 | RTC1, |
| @@ -157,6 +161,8 @@ embassy_hal_common::peripherals! { | |||
| 157 | TEMP, | 161 | TEMP, |
| 158 | } | 162 | } |
| 159 | 163 | ||
| 164 | impl_usb!(USBD, USBD, USBD); | ||
| 165 | |||
| 160 | impl_uarte!(UARTE0, UARTE0, UARTE0_UART0); | 166 | impl_uarte!(UARTE0, UARTE0, UARTE0_UART0); |
| 161 | impl_uarte!(UARTE1, UARTE1, UARTE1); | 167 | impl_uarte!(UARTE1, UARTE1, UARTE1); |
| 162 | 168 | ||
