2019-05-17 13:52:34 +02:00
|
|
|
FLASHER = $(RIOTTOOLS)/jlink/jlink.sh
|
2019-05-17 13:52:34 +02:00
|
|
|
DEBUGGER = $(RIOTTOOLS)/jlink/jlink.sh
|
|
|
|
DEBUGSERVER = $(RIOTTOOLS)/jlink/jlink.sh
|
2019-06-06 16:25:20 +02:00
|
|
|
RESET ?= $(RIOTTOOLS)/jlink/jlink.sh
|
2015-08-05 19:49:10 +02:00
|
|
|
|
2018-12-19 19:33:31 +01:00
|
|
|
FLASHFILE ?= $(BINFILE)
|
2015-08-05 19:49:10 +02:00
|
|
|
|
2019-05-17 13:52:34 +02:00
|
|
|
FFLAGS ?= flash $(FLASHFILE)
|
2019-05-17 13:52:34 +02:00
|
|
|
DEBUGGER_FLAGS ?= debug $(ELFFILE)
|
|
|
|
DEBUGSERVER_FLAGS ?= debug-server
|
2019-05-17 13:52:34 +02:00
|
|
|
RESET_FLAGS ?= reset
|
2019-11-17 22:18:57 +01:00
|
|
|
|
|
|
|
JLINK_SERIAL ?= $(DEBUG_ADAPTER_ID)
|
|
|
|
|
|
|
|
# Export JLINK_SERIAL to required targets
|
|
|
|
JLINK_TARGETS = debug% flash% reset term-rtt
|
|
|
|
$(call target-export-variables,$(JLINK_TARGETS),JLINK_SERIAL)
|