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>
pull/5473/merge
Damien George 2021-02-13 13:52:53 +11:00
rodzic ede6b86a08
commit 701fdcacaf
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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