mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5fcc1210d9
Get BINFILE and ELFFILE from command line instead of environment variable. Rename 'HEXFILE' to 'BINFILE' in the script as the binary file is used. The documentation was already talking about 'BINFILE' but 'BINFILE' was never exported by the build system and it was using 'HEXFILE' in the implementation.
12 lines
351 B
Makefile
12 lines
351 B
Makefile
export FLASHER = $(RIOTTOOLS)/jlink/jlink.sh
|
|
export DEBUGGER = $(RIOTTOOLS)/jlink/jlink.sh
|
|
export DEBUGSERVER = $(RIOTTOOLS)/jlink/jlink.sh
|
|
export RESET = $(RIOTTOOLS)/jlink/jlink.sh
|
|
|
|
HEXFILE = $(BINFILE)
|
|
|
|
export FFLAGS ?= flash $(HEXFILE)
|
|
export DEBUGGER_FLAGS ?= debug $(ELFFILE)
|
|
export DEBUGSERVER_FLAGS ?= debug-server
|
|
export RESET_FLAGS ?= reset
|