Skip to content

Commit 6cd146a

Browse files
committed
Fix issue with a space in project path when J-LINK is used as uploader
1 parent e275093 commit 6cd146a

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
@@ -173,7 +173,7 @@ def _jlink_cmd_script(env, source):
173173
"-if", ("jtag" if upload_protocol == "jlink-jtag" else "swd"),
174174
"-autoconnect", "1"
175175
],
176-
UPLOADCMD="$UPLOADER $UPLOADERFLAGS -CommanderScript ${__jlink_cmd_script(__env__, SOURCE)}"
176+
UPLOADCMD='$UPLOADER $UPLOADERFLAGS -CommanderScript "${__jlink_cmd_script(__env__, SOURCE)}"'
177177
)
178178
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
179179

0 commit comments

Comments
 (0)