From 63d535e21d716b22ce55f557b8b910b97326353b Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Wed, 3 May 2023 10:26:44 +0200 Subject: [PATCH] makefiles/tools/jlink.inc.mk: use ELF file for flashing There seems to be a consensus to go for a more ELF centric approach whenever possible. J-Link seems to work fine with ELF files, so let's avoid the extra step to create a bin file from the ELF file prior to flashing. --- makefiles/tools/jlink.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)