1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/goodfet: use FLASHFILE for boards using goodfet.bsl

Update to use FLASHFILE as file to be flashed on the board.
This commit is contained in:
Gaëtan Harter 2018-12-19 19:29:33 +01:00
parent 785a9546ae
commit 1c14a7da86
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
2 changed files with 4 additions and 2 deletions

View File

@ -11,4 +11,5 @@ include $(RIOTMAKE)/tools/serial.inc.mk
# flash tool configuration
FLASHER = $(RIOTTOOLS)/goodfet/goodfet.bsl
FFLAGS = --telosb -c $(PORT) -r -e -I -p $(HEXFILE)
FLASHFILE ?= $(HEXFILE)
FFLAGS = --telosb -c $(PORT) -r -e -I -p $(FLASHFILE)

View File

@ -10,4 +10,5 @@ include $(RIOTMAKE)/tools/serial.inc.mk
# setup flash tool
FLASHER = $(RIOTTOOLS)/goodfet/goodfet.bsl
FFLAGS = --z1 -I -c $(PORT) -r -e -p $(HEXFILE)
FLASHFILE ?= $(HEXFILE)
FFLAGS = --z1 -I -c $(PORT) -r -e -p $(FLASHFILE)