esp32-s2_dfu/hw/bsp/msp_exp430f5529lp/board.mk

25 lines
575 B
Makefile
Raw Normal View History

CFLAGS += \
-D__MSP430F5529__ \
-DCFG_TUSB_MCU=OPT_MCU_MSP430x5xx \
-DCFG_EXAMPLE_MSC_READONLY \
2019-09-27 18:41:46 +02:00
-DCFG_TUD_ENDPOINT0_SIZE=8
2019-10-29 11:36:53 +01:00
#-mmcu=msp430f5529
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/msp_exp430f5529lp/msp430f5529.ld
LDINC += $(TOP)/hw/bsp/$(BOARD)
INC += $(TOP)/hw/bsp/$(BOARD)
# For TinyUSB port source
VENDOR = ti
CHIP_FAMILY = msp430x5xx
# Path to mspdebug, should be added into system path
MSPDEBUG = mspdebug
# flash target using mspdebug.
flash: $(BUILD)/$(BOARD)-firmware.elf
2019-10-29 11:36:53 +01:00
$(MSPDEBUG) tilib "prog $<" --allow-fw-update