mimxrt: Add/change definitions for MIMXRT11XX boards.

These are mostly identical to the MIMXRT10XX, with one tiny difference.
This commit is contained in:
robert-hh
2022-06-30 22:18:23 +02:00
parent 19956f070d
commit 60c1750a9b
7 changed files with 12 additions and 5 deletions

View File

@@ -29,6 +29,11 @@
#include "fsl_device_registers.h"
#if CFG_TUSB_MCU == OPT_MCU_MIMXRT11XX
#define USB1_BASE USB_OTG1_BASE
#define USB2_BASE USB_OTG2_BASE
#endif
static const ci_hs_controller_t _ci_controller[] =
{
// RT1010 and RT1020 only has 1 USB controller

View File

@@ -34,7 +34,7 @@
#include "device/dcd.h"
#include "ci_hs_type.h"
#if CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX
#if CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT11XX
#include "ci_hs_imxrt.h"
#elif TU_CHECK_MCU(OPT_MCU_LPC18XX, OPT_MCU_LPC43XX)
#include "ci_hs_lpc18_43.h"

View File

@@ -29,7 +29,7 @@
// Chipidea Highspeed USB IP implement EHCI for host functionality
#if CFG_TUH_ENABLED && \
(CFG_TUSB_MCU == OPT_MCU_LPC18XX || CFG_TUSB_MCU == OPT_MCU_LPC43XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX)
(CFG_TUSB_MCU == OPT_MCU_LPC18XX || CFG_TUSB_MCU == OPT_MCU_LPC43XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT11XX)
//--------------------------------------------------------------------+
// INCLUDE