zephyr/scripts/west_commands
Marc Herbert 88600d69e9 scripts: runners: add specific ImportError to warning message
So when for instance adding some `import wrong_module` line to a sample
runner like bossac.py this adds the text between parentheses ( ) below:

  The module for runner "bossac" could not be imported (No module named
  'wrong_module'). This most likely means it is not handling its
  dependencies properly. Please report this to the zephyr developers.

Test tip: changes to bossac.py do not trigger a fast, incremental doc
build. touch doc/guides/west/build-flash-debug.rst does it instead.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2021-06-16 10:39:08 +02:00
..
completion
runners scripts: runners: add specific ImportError to warning message 2021-06-16 10:39:08 +02:00
tests scripts: runners: bossac: Add legacy mode 2021-05-21 21:20:58 +02:00
zspdx west: spdx: Generate SPDX 2.2 tag-value documents 2021-05-05 11:14:06 -04:00
boards.py
build_helpers.py
build.py west: parse options from testcase.yaml/sample.yaml during build 2021-06-11 20:56:10 -04:00
completion.py
debug.py
export.py
flash.py
mypy.ini
README.txt
run_common.py runners: remove dependencies from runners 2021-04-19 15:35:30 +02:00
run_tests.py
sign.py west: sign.py: fix logic bug 2021-05-06 19:49:52 -05:00
spdx.py doc: add docs for west spdx 2021-06-01 07:26:33 -05:00
zcmake.py scripts: zcmake: fix for prerelease cmake versions 2021-02-09 09:14:37 -05:00
zephyr_ext_common.py scripts: west_commands: Remove no longer needed load_dot_config(path) 2021-04-08 16:38:28 +02:00

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!