zephyr/scripts/west_commands
Martí Bolívar 847ba43df9 scripts: run_common: improve error handling for missing runner
Catch the ValueError returned by get_runner_cls() and turn it in to a
log.die().

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-03-17 11:30:45 +01:00
..
completion boards/shields: re-work handling in cmake and west 2021-01-15 15:07:49 -05:00
runners scripts: runners: handle failure to import individual runners 2021-03-17 11:30:45 +01:00
tests scripts: west_commands: tests: Update dediprog expected command 2021-03-16 10:02:57 +01:00
README.txt
boards.py boards/shields: re-work handling in cmake and west 2021-01-15 15:07:49 -05:00
build.py west build: fix board detection 2021-02-02 14:08:57 -05:00
build_helpers.py
completion.py boards/shields: re-work handling in cmake and west 2021-01-15 15:07:49 -05:00
debug.py
export.py
flash.py
mypy.ini
run_common.py scripts: run_common: improve error handling for missing runner 2021-03-17 11:30:45 +01:00
run_tests.py
sign.py board: cavs15: Add a option to control signing ways 2021-02-11 13:52:30 -05:00
zcmake.py scripts: zcmake: fix for prerelease cmake versions 2021-02-09 09:14:37 -05:00
zephyr_ext_common.py

README.txt

This directory contains implementations for west commands which are
tightly coupled to the zephyr tree. This includes the build, flash,
and debug commands.

Before adding more here, consider whether you might want to put new
extensions in upstream west. For example, any commands which operate
on the multi-repo need to be in upstream west, not here. Try to limit
what goes in here to Zephyr-specific features.

When extending this code, please keep the unit tests (in tests/) up to
date. The mypy static type checker is also run on the runners package.

To run these tests locally on Windows, run:

   py -3 run_tests.py

On macOS and Linux:

   ./run_tests.py

Note that these tests are run as part of Zephyr's CI when submitting
an upstream pull request, and pull requests which break the tests
cannot be merged.

Thanks!