mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #11708 from cladmi/pr/mspdebug/flashfile
boards/mspdebug: use FLASHFILE for boards using mspdebug
This commit is contained in:
commit
90e8da0a9b
@ -3,8 +3,9 @@ export CPU = cc430
|
||||
export CPU_MODEL = cc430f6137
|
||||
|
||||
# flasher configuration
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
FLASHER = mspdebug
|
||||
FFLAGS = rf2500 "prog $(HEXFILE)"
|
||||
FFLAGS = rf2500 "prog $(FLASHFILE)"
|
||||
|
||||
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/drivers/include
|
||||
|
||||
|
@ -15,7 +15,8 @@ ifeq ($(strip $(PROGRAMMER)),uif)
|
||||
MSPDEBUGFLAGS += -d $(PORT)
|
||||
endif
|
||||
FLASHER ?= mspdebug
|
||||
FFLAGS = $(MSPDEBUGFLAGS) "prog $(HEXFILE)"
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
FFLAGS = $(MSPDEBUGFLAGS) "prog $(FLASHFILE)"
|
||||
|
||||
# setup debugger
|
||||
DEBUGSERVER = $(FLASHER)
|
||||
|
@ -14,7 +14,8 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# configure the flash tool
|
||||
FLASHER = mspdebug
|
||||
FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
FFLAGS = -d $(PORT) -j uif "prog $(FLASHFILE)"
|
||||
|
||||
# Use the HEXFILE when using iot-lab.single.inc.mk
|
||||
IOTLAB_FLASHFILE = $(HEXFILE)
|
||||
IOTLAB_FLASHFILE = $(FLASHFILE)
|
||||
|
Loading…
Reference in New Issue
Block a user