mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
microbit/flash: get BINFILE from cli
This commit is contained in:
parent
8b2ff285be
commit
4ef7511b7e
@ -10,7 +10,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
PROGRAMMER ?= fscopy
|
||||
|
||||
ifeq (fscopy,$(PROGRAMMER))
|
||||
export FFLAGS =
|
||||
export FFLAGS = $(HEXFILE)
|
||||
export DEBUGGER_FLAGS =
|
||||
|
||||
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
|
||||
|
2
boards/microbit/dist/flash.sh
vendored
2
boards/microbit/dist/flash.sh
vendored
@ -18,6 +18,8 @@ OS=`uname`
|
||||
DID_MOUNT=false
|
||||
NAME="MICROBIT"
|
||||
|
||||
HEXFILE=$1
|
||||
|
||||
# set the mount path depending on the OS
|
||||
if [ ${OS} = "Linux" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user