more lpc51u68 driver clean up
This commit is contained in:
@@ -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
|
||||
|
Submodule hw/mcu/nxp/lpc_driver updated: 7bada68d14...6634dc80d4
Reference in New Issue
Block a user