mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
0be610558d
Update to use FLASHFILE as file to be flashed on the board.
15 lines
475 B
Makefile
15 lines
475 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
|
|
|
|
FLASHFILE ?= $(ELFFILE)
|
|
export FFLAGS ?= flash $(FLASHFILE)
|
|
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
|