summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2023-04-04 09:39:59 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-06 01:05:32 +0000
commitff796c209d90e349f2b8d27ac61e5b2bfebf0ab0 (patch)
tree5375b329bf7f2dce1c219535212f60cb453ee0c2
parent97a478d4c025f1cd6937305dff914315da0045f0 (diff)
downloadchrome-ec-ff796c209d90e349f2b8d27ac61e5b2bfebf0ab0.tar.gz
util/flash_jlink: Disable GUI when flashing
Disable the GUI popup when flashing and just show the status on the commandline. BRANCH=none BUG=none TEST=./util/flash_jlink.py -b bloonchipper -i ./build/bloonchipper/ec.bin Change-Id: I5ff44d3521aa41286e7cf2faaab51d14f1857e8a Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4395581 Reviewed-by: Firas Sammoura <fsammoura@google.com> Reviewed-by: Josie Nordrum <josienordrum@google.com>
-rwxr-xr-xutil/flash_jlink.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/flash_jlink.py b/util/flash_jlink.py
index 9f4a55e544..3bfa26bd9c 100755
--- a/util/flash_jlink.py
+++ b/util/flash_jlink.py
@@ -160,6 +160,8 @@ def flash(jlink_exe, remote, device, interface, cmd_file):
"auto",
"-autoconnect",
"1",
+ "-NoGui",
+ "1",
"-CommandFile",
cmd_file,
]