mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
05782d1495
- export JLINK_SERIAL for required targets
18 lines
488 B
Makefile
18 lines
488 B
Makefile
FLASHER = $(RIOTTOOLS)/jlink/jlink.sh
|
|
DEBUGGER = $(RIOTTOOLS)/jlink/jlink.sh
|
|
DEBUGSERVER = $(RIOTTOOLS)/jlink/jlink.sh
|
|
RESET ?= $(RIOTTOOLS)/jlink/jlink.sh
|
|
|
|
FLASHFILE ?= $(BINFILE)
|
|
|
|
FFLAGS ?= flash $(FLASHFILE)
|
|
DEBUGGER_FLAGS ?= debug $(ELFFILE)
|
|
DEBUGSERVER_FLAGS ?= debug-server
|
|
RESET_FLAGS ?= reset
|
|
|
|
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)
|