add --allow-fw-update for convenience

This commit is contained in:
hathach 2019-10-29 17:36:53 +07:00
parent f6a65720e5
commit 6e204ca567
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ CFLAGS += \
-DCFG_EXAMPLE_MSC_READONLY \
-DCFG_TUD_ENDPOINT0_SIZE=8
#-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)
@ -19,4 +21,4 @@ MSPDEBUG = mspdebug
# flash target using mspdebug.
flash: $(BUILD)/$(BOARD)-firmware.elf
$(MSPDEBUG) tilib "prog $<"
$(MSPDEBUG) tilib "prog $<" --allow-fw-update