Skip to content

Commit 76b7609

Browse files
committed
Disable JLink GUI when uploading firmware
1 parent 134af39 commit 76b7609

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
@@ -173,7 +173,8 @@ def _jlink_cmd_script(env, source):
173173
"-device", board.get("debug", {}).get("jlink_device"),
174174
"-speed", "4000",
175175
"-if", ("jtag" if upload_protocol == "jlink-jtag" else "swd"),
176-
"-autoconnect", "1"
176+
"-autoconnect", "1",
177+
"-NoGui", "1"
177178
],
178179
UPLOADCMD='$UPLOADER $UPLOADERFLAGS -CommanderScript "${__jlink_cmd_script(__env__, SOURCE)}"'
179180
)

0 commit comments

Comments
 (0)