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
fetchers
runners runners: jlink: Fix NoneType object error 2024-10-16 20:53:31 +01:00
sdk
tests
zspdx
README.txt
bindesc.py west: bindesc: Added get_offset command 2024-10-11 13:20:49 -04:00
blobs.py
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
completion.py
debug.py
export.py
flash.py
mypy.ini
robot.py
run_common.py scripts: west_commands: runners: propagate arguments 2024-10-10 20:24:35 -04:00
run_tests.py
sdk.py
shields.py
sign.py west: promote config_get*() functions from sign.py to the base class 2024-10-15 04:06:42 -04:00
simulate.py
spdx.py
twister_cmd.py
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!