zephyr/scripts/west_commands
Phi Bang Nguyen 829c03bcdc runners: jlink: Fix NoneType object error
The commit 221199e15b presents a bug that
makes west flash failed with error.

AttributeError: 'NoneType' object has no attribute 'startswith'

In function is_tunnel(), tunnel may contain None and has no attribute
"startswith". Fix it.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-10-16 20:53:31 +01:00
..
completion scripts: west: commands: completion: add twister --log-level completion 2024-09-24 14:27:03 -05:00
fetchers modules: Basic binary blob infrastructure 2022-08-16 05:59:02 -07:00
runners runners: jlink: Fix NoneType object error 2024-10-16 20:53:31 +01:00
sdk commands: add the 'sdk' command to manage SDK. 2024-08-21 16:54:56 -04:00
tests west: commands: runners: canopen: add download-buffer-size option 2024-09-23 13:21:52 -05:00
zspdx scripts: zephyr_module: Move SPDX name normalization to writer.py 2024-06-14 19:07:48 -04:00
README.txt
bindesc.py west: bindesc: Added get_offset command 2024-10-11 13:20:49 -04:00
blobs.py west: blobs: verify fetched blobs after downloading 2024-07-30 18:29:39 +01:00
boards.py west: boards: add full_name support in format string 2024-10-10 10:06:31 +02:00
build.py west: support build info file for west build 2024-10-08 17:00:30 +02:00
build_helpers.py scripts: domains: Support initialization only from YAML 2023-10-04 18:04:18 +02:00
completion.py west: Add fish shell completion 2023-09-13 12:51:22 -07:00
debug.py west: runners: Add `west rtt` command with pyocd implementation 2024-09-10 12:39:42 -04:00
export.py
flash.py scripts: west: flash: Fix issue with loading outdated domain file 2024-06-13 17:53:00 +02:00
mypy.ini
robot.py West: Add `west robot` command 2024-05-28 12:54:52 +02:00
run_common.py scripts: west_commands: runners: propagate arguments 2024-10-10 20:24:35 -04:00
run_tests.py
sdk.py commands: add the 'sdk' command to manage SDK. 2024-08-21 16:54:56 -04:00
shields.py scripts: west: commands: shields: add cmd for listing supported shields 2024-05-21 16:47:24 -04:00
sign.py west: promote config_get*() functions from sign.py to the base class 2024-10-15 04:06:42 -04:00
simulate.py West: Add `west simulate` command 2024-05-28 12:54:52 +02:00
spdx.py
twister_cmd.py west: twister: Fix default options setup 2024-05-16 09:21:35 +02:00
zcmake.py
zephyr_ext_common.py west: promote config_get*() functions from sign.py to the base class 2024-10-15 04:06:42 -04:00

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!