336aa9dc88
This patch introduces the basic infrastructure to list and fetch binary blobs. This includes: - The new 'blobs' extension command - An implementation of the `west blobs list` command with custom formatting - A very simple mechanism for loading fetchers - A basic implementation of an HTTP fetcher In order to ensure consistency among the west extension commands in the main zephyr tree, we reuse a similar class factory pattern that is present for ZephyrBinaryRunner instances in the ZephyrBlobFetcher case. This could be achieved with a simpler mechanism, but opted for consistency before simplicity. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
# Keep the help strings in sync with the values in the .py files!
|
|
west-commands:
|
|
- file: scripts/west_commands/completion.py
|
|
commands:
|
|
- name: completion
|
|
class: Completion
|
|
help: display shell completion scripts
|
|
- file: scripts/west_commands/boards.py
|
|
commands:
|
|
- name: boards
|
|
class: Boards
|
|
help: display information about supported boards
|
|
- file: scripts/west_commands/build.py
|
|
commands:
|
|
- name: build
|
|
class: Build
|
|
help: compile a Zephyr application
|
|
- file: scripts/west_commands/sign.py
|
|
commands:
|
|
- name: sign
|
|
class: Sign
|
|
help: sign a Zephyr binary for bootloader chain-loading
|
|
- file: scripts/west_commands/flash.py
|
|
commands:
|
|
- name: flash
|
|
class: Flash
|
|
help: flash and run a binary on a board
|
|
- file: scripts/west_commands/debug.py
|
|
commands:
|
|
- name: debug
|
|
class: Debug
|
|
help: flash and interactively debug a Zephyr application
|
|
- name: debugserver
|
|
class: DebugServer
|
|
help: connect to board and launch a debug server
|
|
- name: attach
|
|
class: Attach
|
|
help: interactively debug a board
|
|
- file: scripts/west_commands/export.py
|
|
commands:
|
|
- name: zephyr-export
|
|
class: ZephyrExport
|
|
help: export Zephyr installation as a CMake config package
|
|
- file: scripts/west_commands/spdx.py
|
|
commands:
|
|
- name: spdx
|
|
class: ZephyrSpdx
|
|
help: create SPDX bill of materials
|
|
- file: scripts/west_commands/blobs.py
|
|
commands:
|
|
- name: blobs
|
|
class: Blobs
|
|
help: work with binary blobs
|