You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -366,6 +366,7 @@ The arguments for *compile* are:
366
366
*`--library` to compile the code as a [static .a/.ar library](#compiling-static-libraries).
367
367
*`--config` to inspect the runtime compile configuration (see below).
368
368
*`-S` or `--supported` shows a matrix of the supported targets and toolchains.
369
+
*`-f` or `--flash` to flash/program a connected target after successful compile.
369
370
*`-c ` to build from scratch, a clean build or rebuild.
370
371
*`-j <jobs>` to control the compile processes on your machine. The default value is 0, which infers the number of processes from the number of cores on your machine. You can use `-j 1` to trigger a sequential compile of source code.
371
372
*`-v` or `--verbose` for verbose diagnostic output.
error("The '-f/--flash' option requires that the 'mbed-greentea' python module is installed.\nYou can install mbed-ls by running 'pip install mbed-greentea'.", 1)
error("Unable to flash the target board connected to your system.", 1)
2265
+
2266
+
ifnotreset_dev(detected['port']):
2267
+
error("Unable to reset the target board connected to your system.\nThis might be caused by an old interface firmware.\nPlease check the board page for new firmware.", 1)
0 commit comments