zephyr/scripts/west_commands
Pieter De Gendt c5d1e8e220 scripts: west_commands: patch: Support Python 3.10
The west patch command used hashlib.file_digest which was introduced in
Python 3.11.
Replace with a loop to support Python 3.10 (the current minimum).

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-05 09:34:40 +02:00
..
completion scripts: west_commands: Add powershell autocompletion (west -b) 2025-05-02 01:16:00 +02:00
fetchers west: blobs: fetch exit immediately on HTTP error 2025-05-28 11:09:54 +02:00
runners scripts: west_commands: runners: fix dt-flash handling in some runners 2025-06-04 10:03:40 +02:00
sdk
tests tests: west_runners: Add bflb_mcu_tool to import test 2025-05-26 09:19:26 +02:00
zspdx scripts: west_commands: zspdx: writer: Fix linter issues 2025-06-02 20:22:51 +02:00
bindesc.py scripts: west_commands: bindesc: Fix linter issues 2025-05-28 11:13:51 +02:00
blobs.py scripts: blobs: add auto-accept option for license click-through 2025-05-29 10:46:56 +02:00
boards.py west: boards: add board revision support in format string 2025-03-15 13:07:52 +01:00
build_helpers.py scripts: west_commands: build_helpers: Fix linter issues 2025-05-31 06:54:39 -04:00
build.py scripts: west_commands: build: Fix linter issues 2025-05-31 06:54:39 -04:00
completion.py scripts: west_commands: completion: Fix linter issues 2025-05-28 11:13:51 +02:00
debug.py scripts: west_commands: debug: Fix linter issues 2025-05-31 06:54:39 -04:00
export.py scripts: west_commands: export: Sorted imports 2025-05-28 11:13:51 +02:00
flash.py scripts: west_commands: flash: Fix linter issues 2025-05-31 06:54:39 -04:00
gtags.py scripts: add "west gtags" command 2025-03-07 19:57:00 +01:00
mypy.ini
packages.py
patch.py scripts: west_commands: patch: Support Python 3.10 2025-06-05 09:34:40 +02:00
README.txt
robot.py scripts: west_commands: robot: Fix linter issues 2025-05-31 06:54:39 -04:00
run_common.py west: fix for west flash --context with sysbuild. 2025-05-08 15:56:02 +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 scripts: west: commands: make use of shield.yml in west shields command 2025-05-23 17:19:58 +02:00
sign.py sign: rimage: Include uuid-registry.h header in toml preprocessing 2025-02-07 14:31:48 +01:00
simulate.py scripts: west_commands: simulate: Fix linter issues 2025-05-31 06:54:39 -04:00
spdx.py
twister_cmd.py
zcmake.py scripts: support number of jobs and verbosity in west build. 2025-03-10 11:12:07 +01:00
zephyr_ext_common.py

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!