clean up lpc makefile
This commit is contained in:
@@ -12,19 +12,22 @@ CFLAGS += \
|
||||
# startup.c and lpc_types.h cause following errors
|
||||
CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes
|
||||
|
||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc13xx/lpc_chip_13xx
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/lpcxpresso1347/lpc1347.ld
|
||||
|
||||
SRC_C += \
|
||||
hw/mcu/nxp/lpc_driver/lpc_chip_13xx/src/chip_13xx.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc_chip_13xx/src/clock_13xx.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc_chip_13xx/src/gpio_13xx_1.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc_chip_13xx/src/iocon_13xx.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc_chip_13xx/src/sysctl_13xx.c \
|
||||
hw/mcu/nxp/lpc_driver/lpc_chip_13xx/src/sysinit_13xx.c
|
||||
$(MCU_DIR)/../gcc/cr_startup_lpc13xx.c \
|
||||
$(MCU_DIR)/src/chip_13xx.c \
|
||||
$(MCU_DIR)/src/clock_13xx.c \
|
||||
$(MCU_DIR)/src/gpio_13xx_1.c \
|
||||
$(MCU_DIR)/src/iocon_13xx.c \
|
||||
$(MCU_DIR)/src/sysctl_13xx.c \
|
||||
$(MCU_DIR)/src/sysinit_13xx.c
|
||||
|
||||
INC += \
|
||||
$(TOP)/hw/mcu/nxp/lpc_driver/lpc_chip_13xx/inc
|
||||
$(TOP)/$(MCU_DIR)/inc
|
||||
|
||||
# For TinyUSB port source
|
||||
VENDOR = nxp
|
||||
|
||||
Reference in New Issue
Block a user