nrf/drivers/usb: Add USBD_IRQHandler which calls tud_int_handler.

This is needed for TinyUSB to process USB device IRQs.

Related to #6325.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-02-13 13:52:53 +11:00
parent ede6b86a08
commit 701fdcacaf
1 changed files with 4 additions and 0 deletions

View File

@ -223,4 +223,8 @@ void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len) {
}
}
void USBD_IRQHandler(void) {
tud_int_handler(0);
}
#endif // MICROPY_HW_USB_CDC