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

calliope-mini/flash: get HEXFILE from cli

This commit is contained in:
Gaëtan Harter 2018-03-26 18:26:38 +02:00
parent ce8815f4d1
commit 44da86f2ee
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
PROGRAMMER ?= fscopy
ifeq (fscopy,$(PROGRAMMER))
export FFLAGS =
export FFLAGS = $(HEXFILE)
export DEBUGGER_FLAGS =
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh

View File

@ -18,6 +18,8 @@ OS=`uname`
DID_MOUNT=false
NAME="MINI"
HEXFILE=$1
# set the mount path depending on the OS
if [ ${OS} = "Linux" ]
then