diff --git a/makefiles/tools/jlink.inc.mk b/makefiles/tools/jlink.inc.mk index a8d48020f1..6d287c10bc 100644 --- a/makefiles/tools/jlink.inc.mk +++ b/makefiles/tools/jlink.inc.mk @@ -3,7 +3,7 @@ DEBUGGER ?= $(RIOTTOOLS)/jlink/jlink.sh DEBUGSERVER ?= $(RIOTTOOLS)/jlink/jlink.sh RESET ?= $(RIOTTOOLS)/jlink/jlink.sh -FLASHFILE ?= $(BINFILE) +FLASHFILE ?= $(ELFFILE) FFLAGS ?= flash $(FLASHFILE) DEBUGGER_FLAGS ?= debug $(DEBUG_ELFFILE)