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:
parent
ce8815f4d1
commit
44da86f2ee
@ -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
|
||||
|
2
boards/calliope-mini/dist/flash.sh
vendored
2
boards/calliope-mini/dist/flash.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user