1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

boards/mspdebug: use FLASHFILE for boards using mspdebug

Update to use FLASHFILE as file to be flashed on the board.
IOTLAB_FLASHFILE also uses 'FLASHFILE' (and not the default 'ELFFILE').
This commit is contained in:
Gaëtan Harter 2018-12-19 19:03:33 +01:00
parent b4079badf7
commit 6538d71ed0
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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)

View File

@ -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)