Skip to content

Commit ea32a50

Browse files
authored
Escape path to binary image in J-Link upload script (#864)
1 parent af9f28b commit ea32a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _jlink_cmd_script(env, source):
184184
script_path = join(build_dir, "upload.jlink")
185185
commands = [
186186
"h",
187-
"loadbin %s, %s" % (source, board.get(
187+
"loadbin \"%s\", %s" % (source, board.get(
188188
"upload.offset_address", "0x08000000")),
189189
"r",
190190
"q"

0 commit comments

Comments
 (0)