Skip to content

Commit

Permalink
Fix uploading using J-Link
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Feb 7, 2018
1 parent 4eca891 commit 654a349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def _jlink_cmd_script(env, source):
if not isdir(build_dir):
makedirs(build_dir)
script_path = join(build_dir, "upload.jlink")
commands = ["h", "loadbin %s,0x0" % source, "r", "q"]
commands = ["h", "loadfile %s" % source, "r", "q"]
with open(script_path, "w") as fp:
fp.write("\n".join(commands))
return script_path
Expand Down

0 comments on commit 654a349

Please sign in to comment.