mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
more lpc51u68 driver clean up
This commit is contained in:
parent
a5a768e5f7
commit
e99ff703dc
@ -9,24 +9,26 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data")))' \
|
||||
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
|
||||
|
||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc51u6x/devices/LPC51U68
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/mcu/nxp/lpc_driver/lpc51u6x/devices/LPC51U68/gcc/LPC51U68_flash.ld
|
||||
LD_FILE = $(MCU_DIR)/gcc/LPC51U68_flash.ld
|
||||
|
||||
SRC_C += \
|
||||
hw/mcu/nxp/lpc_driver/lpc51u6x/devices/LPC51U68/system_LPC51U68.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc51u6x/drivers/fsl_clock.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc51u6x/drivers/fsl_gpio.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc51u6x/drivers/fsl_power.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc51u6x/drivers/fsl_reset.c
|
||||
$(MCU_DIR)/system_LPC51U68.c \
|
||||
$(MCU_DIR)/drivers/fsl_clock.c \
|
||||
$(MCU_DIR)/drivers/fsl_gpio.c \
|
||||
$(MCU_DIR)/drivers/fsl_power.c \
|
||||
$(MCU_DIR)/drivers/fsl_reset.c
|
||||
|
||||
INC += \
|
||||
$(TOP)/hw/mcu/nxp/lpc_driver/lpc51u6x/CMSIS/Include \
|
||||
$(TOP)/hw/mcu/nxp/lpc_driver/lpc51u6x/devices/LPC51U68 \
|
||||
$(TOP)/hw/mcu/nxp/lpc_driver/lpc51u6x/drivers
|
||||
$(TOP)/$(MCU_DIR) \
|
||||
$(TOP)/$(MCU_DIR)/drivers
|
||||
|
||||
SRC_S += hw/mcu/nxp/lpc_driver/lpc51u6x/devices/LPC51U68/gcc/startup_LPC51U68.S
|
||||
SRC_S += $(MCU_DIR)/gcc/startup_LPC51U68.S
|
||||
|
||||
LIBS += $(TOP)/hw/mcu/nxp/lpc_driver/lpc51u6x/devices/LPC51U68/gcc/libpower.a
|
||||
LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower.a
|
||||
|
||||
# For TinyUSB port source
|
||||
VENDOR = nxp
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7bada68d143a17c2a60197f469e56ad60ef2357d
|
||||
Subproject commit 6634dc80d48ca461df46dc593e9c39f467f62329
|
Loading…
x
Reference in New Issue
Block a user