zephyr/scripts/west_commands
Andy Ross 82c5f548d9 scripts/west/sign: Auto-detect rimage ELF files
This code had a growing "enumerate all the platforms" wart.  In point
of fact only intel_adsp is special here.  Other rimage platforms don't
have a bootloader and use zephyr.elf directly.

Don't hard code platform names (especially since they aren't the same
as board/soc names!).  Just autodetect which scheme we have at
runtime.

Signed-off-by: Andy Ross <andyross@google.com>
2024-12-05 22:08:55 +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 scripts: west_commands: runners: teensy: Replace printf with f-string 2024-12-03 23:30:00 +00:00
sdk commands: add the 'sdk' command to manage SDK. 2024-08-21 16:54:56 -04:00
tests runners: add minichlink 2024-11-26 14:41:46 +00:00
zspdx python: Format trivial files where only newlines were missing 2024-11-21 20:10:51 +01:00
bindesc.py scripts: west_commands: bindesc: Remove deprecated west.log 2024-11-18 13:18:42 -05:00
blobs.py scripts: west_commands: blobs: Remove deprecated west.log 2024-11-18 13:18:42 -05:00
boards.py python: Format and sort imports 2024-11-25 10:07:13 +01:00
build.py west build: fix a leftover "log" reference in build.py 2024-11-06 10:07:13 -08:00
build_helpers.py scripts: domains: Support initialization only from YAML 2023-10-04 18:04:18 +02: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 scripts: west: flash: Fix issue with loading outdated domain file 2024-06-13 17:53:00 +02:00
mypy.ini scripts: runners: add type checking for west_commands 2020-09-03 16:49:09 -05:00
packages.py scripts: west_commands: Add packages command 2024-11-25 12:16:43 +01:00
README.txt scripts: runners: add type checking for west_commands 2020-09-03 16:49:09 -05:00
robot.py West: Add west robot command 2024-05-28 12:54:52 +02:00
run_common.py scripts: west_commands: run: Add priority to run once config 2024-10-26 17:14:06 +02:00
run_tests.py scripts: runners: add type checking for west_commands 2020-09-03 16:49:09 -05:00
sdk.py commands: add the 'sdk' command to manage SDK. 2024-08-21 16:54:56 -04:00
shields.py python: Format and sort imports 2024-11-25 10:07:13 +01:00
sign.py scripts/west/sign: Auto-detect rimage ELF files 2024-12-05 22:08:55 +01:00
simulate.py West: Add west simulate command 2024-05-28 12:54:52 +02:00
spdx.py scripts: Fix CMake spelling 2024-10-30 16:32:24 -05:00
twister_cmd.py scripts: west_commands: twister_cmd: Remove deprecated west.log 2024-11-18 13:18:42 -05:00
zcmake.py west: zcmake.py: support UNINITIALIZED type if CMakeCache.txt file 2022-07-11 11:33:15 +02: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!