mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-14 19:45:21 +00:00
Add a new "boards" command that is able to list all the boards in the upstream tree. There is currently no support for out-of-tree boards. The command executes cmake to use the built-in CMake script, boards.cmake, to list the boards, and then stores the information retrieved and allows the user to present it in a user-definable format. Fixes https://github.com/zephyrproject-rtos/west/issues/53 Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
# Keep the help strings in sync with the values in the .py files!
|
|
west-commands:
|
|
- 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
|