1
0
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:
Kevin "Bear Puncher" Weiss 2019-06-25 13:38:32 +02:00 committed by GitHub
commit 90e8da0a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)