Browse Source

rename lpc_usbd to lpc_ip3511

hathach 6 years ago
parent
commit
aeea6754af

+ 1 - 1
hw/bsp/lpcxpresso11u68/board.mk

@@ -26,7 +26,7 @@ INC += \
 
 # For TinyUSB port source
 VENDOR = nxp
-CHIP_FAMILY = lpc_usbd
+CHIP_FAMILY = lpc_ip3511
 
 # For freeRTOS port source
 FREERTOS_PORT = ARM_CM0

+ 1 - 1
hw/bsp/lpcxpresso1347/board.mk

@@ -25,7 +25,7 @@ INC += \
 
 # For TinyUSB port source
 VENDOR = nxp
-CHIP_FAMILY = lpc_usbd
+CHIP_FAMILY = lpc_ip3511
 
 # For freeRTOS port source
 FREERTOS_PORT = ARM_CM3

+ 1 - 1
hw/bsp/lpcxpresso51u68/board.mk

@@ -32,7 +32,7 @@ LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower.a
 
 # For TinyUSB port source
 VENDOR = nxp
-CHIP_FAMILY = lpc_usbd
+CHIP_FAMILY = lpc_ip3511
 
 # For freeRTOS port source
 FREERTOS_PORT = ARM_CM0

+ 1 - 1
hw/bsp/lpcxpresso54114/board.mk

@@ -34,7 +34,7 @@ LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower_cm4_hardabi.a
 
 # For TinyUSB port source
 VENDOR = nxp
-CHIP_FAMILY = lpc_usbd
+CHIP_FAMILY = lpc_ip3511
 
 # For freeRTOS port source
 FREERTOS_PORT = ARM_CM4

+ 1 - 0
src/class/msc/msc_device.c

@@ -44,6 +44,7 @@ enum
 
 typedef struct
 {
+  // TODO optimize alignment
   CFG_TUSB_MEM_ALIGN msc_cbw_t cbw;
   CFG_TUSB_MEM_ALIGN msc_csw_t csw;
 

+ 1 - 1
src/portable/nxp/lpc_usbd/dcd_lpc_usbd.c → src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c

@@ -26,7 +26,7 @@
 
 #include "tusb_option.h"
 
-/* Since 2012 starting with LPC11uxx, NXP start to use common USB Device Controller
+/* Since 2012 starting with LPC11uxx, NXP start to use common USB Device Controller with code name LPC IP3511
  * for almost their new MCUs. Currently supported and tested families are
  * - LPC11Uxx
  * - LPC13xx