zephyr/scripts/west_commands
TOKITA Hiroshi 4b563934a6 west: runners: openocd: Add option to start RTT server during debug
Add `--rtt-server` option to start RTT server when the OpenOCD
launched from `debug`, `debugserver`, and `attach` commands.

This option starts the RTT server and opens a port,
but RTT logging must be done externally.
That is, you must connect to port 5555 using `telnet` or `nc`
in another terminal to view the RTT log.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-04-29 20:08:20 -04:00
..
completion scripts: west: commands: completion: zsh: add "west shields" completion 2025-03-26 21:56:33 +01:00
fetchers
runners west: runners: openocd: Add option to start RTT server during debug 2025-04-29 20:08:20 -04:00
sdk
tests west: runners: add flash runner for sensry sy1xx socs 2025-04-04 12:06:07 +02:00
zspdx scripts: zephyr_module: Fix purl regex 2025-03-17 09:32:46 +01:00
bindesc.py scripts: west_commands: bindesc: Remove deprecated west.log 2024-11-18 13:18:42 -05:00
blobs.py west: commands: blobs: fail on checksum error 2025-02-03 19:52:58 +01:00
boards.py west: boards: add board revision support in format string 2025-03-15 13:07:52 +01:00
build_helpers.py
build.py west build: fix a leftover "log" reference in build.py 2024-11-06 10:07:13 -08:00
completion.py scripts: west_commands: completion: Remove deprecated west.log 2024-11-18 13:18:42 -05:00
debug.py cmake: flash: update cmake to support rtt target 2024-11-21 11:01:55 +00:00
export.py scripts: west_commands: export: Remove deprecated west.log 2024-11-18 13:18:42 -05:00
flash.py
gtags.py scripts: add "west gtags" command 2025-03-07 19:57:00 +01:00
mypy.ini
packages.py scripts: west_commands: add --ignore-venv-check option 2025-01-07 20:35:53 +01:00
patch.py scripts: west_commands: patch: add src module argument 2025-01-28 12:00:45 +01:00
README.txt
robot.py
run_common.py Revert "west: fix for context with sysbuild" 2025-04-28 13:41:34 +02:00
run_tests.py
sdk.py scripts: west_commands: sdk: Display a download progress bar. 2025-01-31 09:38:09 +01:00
shields.py python: Format and sort imports 2024-11-25 10:07:13 +01:00
sign.py sign: rimage: Include uuid-registry.h header in toml preprocessing 2025-02-07 14:31:48 +01:00
simulate.py
spdx.py scripts: west_command: spdx: Exit with non-zero code on failure 2025-01-15 15:03:59 +01:00
twister_cmd.py scripts: west_commands: twister_cmd: Remove deprecated west.log 2024-11-18 13:18:42 -05:00
zcmake.py scripts: support number of jobs and verbosity in west build. 2025-03-10 11:12:07 +01:00
zephyr_ext_common.py scripts: west_commands: zephyr_ext_common: Remove deprecated west.log 2024-11-18 13:18:42 -05: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!