Skip to content

Commit 80a07aa

Browse files
committed
Disable JLink GUI when uploading firmware
1 parent 2f3a25d commit 80a07aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ def _jlink_cmd_script(env, source):
148148
"-device", board.get("debug", {}).get("jlink_device"),
149149
"-speed", "4000",
150150
"-if", ("jtag" if upload_protocol == "jlink-jtag" else "swd"),
151-
"-autoconnect", "1"
151+
"-autoconnect", "1",
152+
"-NoGui", "1"
152153
],
153154
UPLOADCMD='$UPLOADER $UPLOADERFLAGS -CommanderScript "${__jlink_cmd_script(__env__, SOURCE)}"'
154155
)

0 commit comments

Comments
 (0)