Skip to content

Commit 079d5f4

Browse files
committed
Use hex file for uploading via J-Link // Issue #5
1 parent 5271d82 commit 079d5f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def _jlink_cmd_script(env, source):
197197
UPLOADCMD='$UPLOADER $UPLOADERFLAGS -CommanderScript "${__jlink_cmd_script(__env__, SOURCE)}"'
198198
)
199199
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
200+
upload_source = env.ElfToHex(join("$BUILD_DIR", "${PROGNAME}"), target_elf)
200201

201202
elif upload_protocol in debug_tools:
202203
openocd_args = [

0 commit comments

Comments
 (0)