Handle iMX RT 1042 usb naming

This commit is contained in:
Scott Shawcroft 2023-04-06 15:45:23 -07:00
parent ec9c666107
commit 2cda9b60c9
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@
#define USB2_BASE USB_OTG2_BASE
#endif
// RT1040 calls its only USB USB_OTG (no 1)
#if defined(MIMXRT1042_SERIES)
#define USB_OTG1_IRQn USB_OTG_IRQn
#endif
static const ci_hs_controller_t _ci_controller[] =
{
// RT1010 and RT1020 only has 1 USB controller