Skip to content

Commit

Permalink
Use hex file for uploading via J-Link // Issue #5
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed May 10, 2021
1 parent 5271d82 commit 079d5f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def _jlink_cmd_script(env, source):
UPLOADCMD='$UPLOADER $UPLOADERFLAGS -CommanderScript "${__jlink_cmd_script(__env__, SOURCE)}"'
)
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
upload_source = env.ElfToHex(join("$BUILD_DIR", "${PROGNAME}"), target_elf)

elif upload_protocol in debug_tools:
openocd_args = [
Expand Down

0 comments on commit 079d5f4

Please sign in to comment.