mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a0b97ad737
Get FLASH_FILE and ELFFILE from command line instead of environment variable. The documentation was claiming ELFFILE was given as a command line argument already, but is was not.
14 lines
449 B
Makefile
14 lines
449 B
Makefile
export FLASHER ?= $(RIOTTOOLS)/openocd/openocd.sh
|
|
export DEBUGGER = $(RIOTTOOLS)/openocd/openocd.sh
|
|
export DEBUGSERVER = $(RIOTTOOLS)/openocd/openocd.sh
|
|
export RESET ?= $(RIOTTOOLS)/openocd/openocd.sh
|
|
|
|
export FFLAGS ?= flash $(ELFFILE)
|
|
export DEBUGGER_FLAGS ?= debug $(ELFFILE)
|
|
export DEBUGSERVER_FLAGS ?= debug-server
|
|
export RESET_FLAGS ?= reset
|
|
|
|
ifneq (,$(DEBUG_ADAPTER))
|
|
include $(RIOTMAKE)/tools/openocd-adapters/$(DEBUG_ADAPTER).inc.mk
|
|
endif
|