newt run¶
A single command to do four steps - build a target, create-image, load image on a board, and start a debug session with the image on the board.
Note: If the version number is omitted:
The create-image step is skipped for a bootloader target.
You will be prompted to enter a version number for an application target.
Usage:¶
newt run <target-name> [<version>][flags]
Flags:¶
--extrajtagcmd string Extra commands to send to JTAG software
-n, --noGDB Do not start GDB from the command line
Global Flags:¶
-h, --help Help for newt commands
-j, --jobs int Number of concurrent build jobs (default 8)
-l, --loglevel string Log level (default "WARN")
-o, --outfile string Filename to tee output to
-q, --quiet Be quiet; only display error output
-s, --silent Be silent; don't output anything
-v, --verbose Enable verbose output when executing commands
Description¶
Same as running build <target-name>
, create-image <target-name> <version>
, load <target-name>
, and debug <target-name>
.
Examples¶
Usage |
Explanation |
---|---|
|
Compiles and builds the image for the |
|
Compiles and builds the image for the |