diff options
| author | hathach <[email protected]> | 2020-03-22 19:11:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-03-22 19:11:24 +0700 |
| commit | acbb535668e9dec53d49cfeff0fcbf3df458eda3 (patch) | |
| tree | f80230ae523a4ff34b081b259d5f3c8267b152fd | |
| parent | 4f871063fd33db2b55c6f78130c723a8854e0b11 (diff) | |
change msp430 flash tool from mspdebug to TI MSP430Flasher
| -rw-r--r-- | hw/bsp/msp_exp430f5529lp/board.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/hw/bsp/msp_exp430f5529lp/board.mk b/hw/bsp/msp_exp430f5529lp/board.mk index 95192a990..ec393e0fc 100644 --- a/hw/bsp/msp_exp430f5529lp/board.mk +++ b/hw/bsp/msp_exp430f5529lp/board.mk @@ -16,9 +16,11 @@ INC += $(TOP)/hw/mcu/ti/msp430/msp430-gcc-support-files/include VENDOR = ti CHIP_FAMILY = msp430x5xx -# Path to mspdebug, should be added into system path -MSPDEBUG = mspdebug +# export for libmsp430.so to same installation +export LD_LIBRARY_PATH=$(dir $(shell which MSP430Flasher)) -# flash target using mspdebug. -flash: $(BUILD)/$(BOARD)-firmware.elf - $(MSPDEBUG) tilib "prog $<" --allow-fw-update +# flash target using TI MSP430-Flasher +# http://www.ti.com/tool/MSP430-FLASHER +# Please add its installation dir to PATH +flash: $(BUILD)/$(BOARD)-firmware.hex + MSP430Flasher -w $< -z [VCC] |
