Merge pull request #2013 from tannewt/imx_1042
Handle iMX RT 1042 usb naming
This commit is contained in:
commit
964e7ebf21
|
@ -37,6 +37,11 @@
|
||||||
#define USB2_BASE USB_OTG2_BASE
|
#define USB2_BASE USB_OTG2_BASE
|
||||||
#endif
|
#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[] =
|
static const ci_hs_controller_t _ci_controller[] =
|
||||||
{
|
{
|
||||||
// RT1010 and RT1020 only has 1 USB controller
|
// RT1010 and RT1020 only has 1 USB controller
|
||||||
|
|
Loading…
Reference in New Issue