Skip to content

Commit 964e7eb

Browse files
authored
Merge pull request hathach#2013 from tannewt/imx_1042
Handle iMX RT 1042 usb naming
2 parents 8ede566 + 2cda9b6 commit 964e7eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/portable/chipidea/ci_hs/ci_hs_imxrt.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
#define USB2_BASE USB_OTG2_BASE
3838
#endif
3939

40+
// RT1040 calls its only USB USB_OTG (no 1)
41+
#if defined(MIMXRT1042_SERIES)
42+
#define USB_OTG1_IRQn USB_OTG_IRQn
43+
#endif
44+
4045
static const ci_hs_controller_t _ci_controller[] =
4146
{
4247
// RT1010 and RT1020 only has 1 USB controller

0 commit comments

Comments
 (0)