mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-12 07:13:26 +00:00
create new lpc15 family
This commit is contained in:
parent
cd535537f6
commit
bbc6d4f9e8
6
hw/bsp/lpc15/boards/lpcxpresso1549/board.mk
Normal file
6
hw/bsp/lpc15/boards/lpcxpresso1549/board.mk
Normal file
@ -0,0 +1,6 @@
|
||||
LD_FILE = $(BOARD_PATH)/lpc1549.ld
|
||||
|
||||
JLINK_DEVICE = LPC1549
|
||||
|
||||
# flash using pyocd
|
||||
flash: flash-jlink
|
@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
#include "chip.h"
|
||||
#include "../board.h"
|
||||
#include "bsp/board.h"
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// Forward USB interrupt events to TinyUSB IRQ Handler
|
@ -1,5 +1,7 @@
|
||||
DEPS_SUBMODULES += hw/mcu/nxp
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
-mthumb \
|
||||
@ -17,9 +19,6 @@ CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter -Wno-error=un
|
||||
|
||||
MCU_DIR = hw/mcu/nxp/lpcopen/lpc15xx/lpc_chip_15xx
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/lpc1549.ld
|
||||
|
||||
SRC_C += \
|
||||
src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c \
|
||||
$(MCU_DIR)/../gcc/cr_startup_lpc15xx.c \
|
||||
@ -33,13 +32,8 @@ SRC_C += \
|
||||
$(MCU_DIR)/src/sysinit_15xx.c
|
||||
|
||||
INC += \
|
||||
$(TOP)/$(BOARD_PATH) \
|
||||
$(TOP)/$(MCU_DIR)/inc
|
||||
|
||||
# For freeRTOS port source
|
||||
FREERTOS_PORT = ARM_CM3
|
||||
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = LPC1549
|
||||
|
||||
# flash using jlink
|
||||
flash: flash-jlink
|
Loading…
x
Reference in New Issue
Block a user