mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Merge pull request #215 from hathach/develop
rename lpc_driver to nxp_driver
This commit is contained in:
commit
34c903023d
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -7,9 +7,6 @@
|
|||||||
[submodule "tools/uf2"]
|
[submodule "tools/uf2"]
|
||||||
path = tools/uf2
|
path = tools/uf2
|
||||||
url = https://github.com/microsoft/uf2.git
|
url = https://github.com/microsoft/uf2.git
|
||||||
[submodule "hw/mcu/nxp/lpc_driver"]
|
|
||||||
path = hw/mcu/nxp/lpc_driver
|
|
||||||
url = https://github.com/hathach/lpc_driver.git
|
|
||||||
[submodule "hw/mcu/st/st_driver"]
|
[submodule "hw/mcu/st/st_driver"]
|
||||||
path = hw/mcu/st/st_driver
|
path = hw/mcu/st/st_driver
|
||||||
url = https://github.com/hathach/st_driver.git
|
url = https://github.com/hathach/st_driver.git
|
||||||
@ -19,3 +16,6 @@
|
|||||||
[submodule "hw/mcu/ti"]
|
[submodule "hw/mcu/ti"]
|
||||||
path = hw/mcu/ti
|
path = hw/mcu/ti
|
||||||
url = https://github.com/hathach/ti_driver.git
|
url = https://github.com/hathach/ti_driver.git
|
||||||
|
[submodule "hw/mcu/nxp"]
|
||||||
|
path = hw/mcu/nxp
|
||||||
|
url = https://github.com/hathach/nxp_driver.git
|
||||||
|
@ -11,7 +11,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc40xx/lpc_chip_40xx
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc40xx/lpc_chip_40xx
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/ea4088qs/lpc4088.ld
|
LD_FILE = hw/bsp/ea4088qs/lpc4088.ld
|
||||||
|
@ -10,7 +10,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes
|
CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc43xx/lpc_chip_43xx
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc43xx/lpc_chip_43xx
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/ea4357/lpc4357.ld
|
LD_FILE = hw/bsp/ea4357/lpc4357.ld
|
||||||
|
@ -13,7 +13,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc11uxx/lpc_chip_11uxx
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc11uxx/lpc_chip_11uxx
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/lpcxpresso11u37/lpc11u37.ld
|
LD_FILE = hw/bsp/lpcxpresso11u37/lpc11u37.ld
|
||||||
|
@ -10,7 +10,7 @@ CFLAGS += \
|
|||||||
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM3")))' \
|
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM3")))' \
|
||||||
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
|
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc11u6x/lpc_chip_11u6x
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc11u6x/lpc_chip_11u6x
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/lpcxpresso11u68/lpc11u68.ld
|
LD_FILE = hw/bsp/lpcxpresso11u68/lpc11u68.ld
|
||||||
|
@ -13,7 +13,7 @@ CFLAGS += \
|
|||||||
# startup.c and lpc_types.h cause following errors
|
# startup.c and lpc_types.h cause following errors
|
||||||
CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes
|
CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc13xx/lpc_chip_13xx
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc13xx/lpc_chip_13xx
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/lpcxpresso1347/lpc1347.ld
|
LD_FILE = hw/bsp/lpcxpresso1347/lpc1347.ld
|
||||||
|
@ -12,7 +12,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter -Wno-error=unused-variable
|
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter -Wno-error=unused-variable
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc15xx/lpc_chip_15xx
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc15xx/lpc_chip_15xx
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/$(BOARD)/lpc1549.ld
|
LD_FILE = hw/bsp/$(BOARD)/lpc1549.ld
|
||||||
|
@ -11,7 +11,7 @@ CFLAGS += \
|
|||||||
# lpc_types.h cause following errors
|
# lpc_types.h cause following errors
|
||||||
CFLAGS += -Wno-error=strict-prototypes
|
CFLAGS += -Wno-error=strict-prototypes
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc175x_6x/lpc_chip_175x_6x
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc175x_6x/lpc_chip_175x_6x
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/lpcxpresso1769/lpc1769.ld
|
LD_FILE = hw/bsp/lpcxpresso1769/lpc1769.ld
|
||||||
|
@ -10,7 +10,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=nested-externs -Wno-error=unused-parameter
|
CFLAGS += -Wno-error=nested-externs -Wno-error=unused-parameter
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc51u6x/devices/LPC51U68
|
MCU_DIR = hw/mcu/nxp/sdk/devices/LPC51U68
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = $(MCU_DIR)/gcc/LPC51U68_flash.ld
|
LD_FILE = $(MCU_DIR)/gcc/LPC51U68_flash.ld
|
||||||
|
@ -12,7 +12,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=unused-parameter
|
CFLAGS += -Wno-error=unused-parameter
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc54xxx/devices/LPC54114
|
MCU_DIR = hw/mcu/nxp/sdk/devices/LPC54114
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = $(MCU_DIR)/gcc/LPC54114J256_cm4_flash.ld
|
LD_FILE = $(MCU_DIR)/gcc/LPC54114J256_cm4_flash.ld
|
||||||
|
@ -12,7 +12,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=float-equal -Wno-error=nested-externs
|
CFLAGS += -Wno-error=unused-parameter -Wno-error=float-equal -Wno-error=nested-externs
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc55xx/devices/LPC55S69
|
MCU_DIR = hw/mcu/nxp/sdk/devices/LPC55S69
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = $(MCU_DIR)/gcc/LPC55S69_cm33_core0_flash.ld
|
LD_FILE = $(MCU_DIR)/gcc/LPC55S69_cm33_core0_flash.ld
|
||||||
|
@ -11,7 +11,7 @@ CFLAGS += \
|
|||||||
# startup.c and lpc_types.h cause following errors
|
# startup.c and lpc_types.h cause following errors
|
||||||
CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes
|
CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc175x_6x/lpc_chip_175x_6x
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc175x_6x/lpc_chip_175x_6x
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/mbed1768/lpc1768.ld
|
LD_FILE = hw/bsp/mbed1768/lpc1768.ld
|
||||||
|
@ -10,7 +10,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes
|
CFLAGS += -Wno-error=unused-parameter -Wno-error=strict-prototypes
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc18xx/lpc_chip_18xx
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc18xx/lpc_chip_18xx
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/mcb1800/lpc1857.ld
|
LD_FILE = hw/bsp/mcb1800/lpc1857.ld
|
||||||
|
@ -10,7 +10,7 @@ CFLAGS += \
|
|||||||
# mcu driver cause following warnings
|
# mcu driver cause following warnings
|
||||||
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc43xx/lpc_chip_43xx
|
MCU_DIR = hw/mcu/nxp/lpcopen/lpc43xx/lpc_chip_43xx
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/$(BOARD)/ngx4330.ld
|
LD_FILE = hw/bsp/$(BOARD)/ngx4330.ld
|
||||||
|
1
hw/mcu/nxp
Submodule
1
hw/mcu/nxp
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 0eef4984c339b8c201812e3ed09cf70225a81b16
|
@ -1 +0,0 @@
|
|||||||
Subproject commit fa206508e9ea289ceeb9c35442dd8002002f9316
|
|
Loading…
x
Reference in New Issue
Block a user