program only a hex file with "west flash" #43401
Replies: 1 comment 7 replies
-
Hi @niklasparnesten , Yes, west can flash hex files. If you use the help command below, West prints how to point to a hex file: `west flash --help usage: west flash [-h] [-d DIR] [-r RUNNER] [--skip-rebuild] [-H] [--board-dir DIR] [--elf-file FILE] Permanently reprogram a board's flash with a new binary. optional arguments: general options: -d DIR, --build-dir DIR runner configuration:
=================================================================== Run "west flash --context" for runner-specific options. If a build directory is found, --context also prints per-runner Use "west flash --context -r RUNNER" to limit output to a Some runner settings also can be overridden with options like -H, --context print runner- and build-specific help |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is it possible to just program a hex-file with "west flash" , without the build dir?
In our CI we have the build stage separated from the test stage: the binaries are built on a linux server and the test are executed on a PC in our lab. So in the lab we only want to program the binaries and run our tests.
Is this possible with west or do we have to go directly on nrfjprog/openocd commands?
Best Regards,
Niklas
Beta Was this translation helpful? Give feedback.
All reactions