diff options
| author | hathach <[email protected]> | 2019-09-05 16:18:34 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-05 16:18:34 +0700 |
| commit | 143a138028a03f1665ab32dd53435c2d7d0b8237 (patch) | |
| tree | a0f4acd5d8fc8dddf47fa7efbc63c804e078c140 /src | |
| parent | 7350e9c25c468fbcbc4c8e492f9cd6dc0402b611 (diff) | |
| parent | a90e2aa2ce076009961c42a78de218f899c6ee07 (diff) | |
Merge pull request #116 from hathach/develop
Board update
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c | 6 | ||||
| -rw-r--r-- | src/tusb_option.h | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c b/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c index 0f0858b1b..160eefb24 100644 --- a/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c +++ b/src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c @@ -39,14 +39,16 @@ #if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_LPC11UXX || \ CFG_TUSB_MCU == OPT_MCU_LPC13XX || \ CFG_TUSB_MCU == OPT_MCU_LPC51UXX || \ - CFG_TUSB_MCU == OPT_MCU_LPC54XXX ) + CFG_TUSB_MCU == OPT_MCU_LPC54XXX || \ + CFG_TUSB_MCU == OPT_MCU_LPC55XX) #if CFG_TUSB_MCU == OPT_MCU_LPC11UXX || CFG_TUSB_MCU == OPT_MCU_LPC13XX // LPC11Uxx and LPC13xx use lpcopen #include "chip.h" #define DCD_REGS LPC_USB #define DCD_IRQHandler USB_IRQHandler -#elif CFG_TUSB_MCU == OPT_MCU_LPC51UXX || CFG_TUSB_MCU == OPT_MCU_LPC54XXX +#elif CFG_TUSB_MCU == OPT_MCU_LPC51UXX || CFG_TUSB_MCU == OPT_MCU_LPC54XXX || \ + CFG_TUSB_MCU == OPT_MCU_LPC55XX // TODO 55xx has dual usb controllers #include "fsl_device_registers.h" #define DCD_REGS USB0 #define DCD_IRQHandler USB0_IRQHandler diff --git a/src/tusb_option.h b/src/tusb_option.h index dd9e0a0bd..fbd48a8fa 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -44,6 +44,7 @@ #define OPT_MCU_LPC43XX 8 ///< NXP LPC43xx
#define OPT_MCU_LPC51UXX 9 ///< NXP LPC51U6x
#define OPT_MCU_LPC54XXX 10 ///< NXP LPC54xxx
+#define OPT_MCU_LPC55XX 11 ///< NXP LPC55xx
#define OPT_MCU_NRF5X 100 ///< Nordic nRF5x series
|
