Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

west: Add gigadevice west extension commands #31

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

feilongfl
Copy link
Contributor

@feilongfl feilongfl commented Jan 10, 2023

Add a west extension commands to prepare develop env.

~/P/z/m/h/gigadevice   dev-westext ±  west help
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...

The Zephyr RTOS meta-tool.

optional arguments:
  -h, --help            get help for west or a command
  -z ZEPHYR_BASE, --zephyr-base ZEPHYR_BASE
                        Override the Zephyr base directory. The default is
                        the manifest project with path "zephyr".
  -v, --verbose         Display verbose output. May be given multiple times
                        to increase verbosity.
  -V, --version         print the program version and exit

built-in commands for managing git repositories:
  init:                 create a west workspace
  update:               update projects described in west manifest
  list:                 print information about projects
  manifest:             manage the west manifest
  diff:                 "git diff" for one or more projects
  status:               "git status" for one or more projects
  forall:               run a command in one or more local projects

other built-in commands:
  help:                 get help for west or a command
  config:               get or set config file values
  topdir:               print the top level directory of the workspace

extension commands from project manifest (path: zephyr):
  completion:           output shell completion scripts
  boards:               display information about supported boards
  build:                compile a Zephyr application
  sign:                 sign a Zephyr binary for bootloader chain-loading
  flash:                flash and run a binary on a board
  debug:                flash and interactively debug a Zephyr application
  debugserver:          connect to board and launch a debug server
  attach:               interactively debug a board
  zephyr-export:        export Zephyr installation as a CMake config
                        package
  spdx:                 create SPDX bill of materials
  blobs:                work with binary blobs

extension commands from project hal_espressif (path: modules/hal/espressif):
  espressif:            Espressif tools for west framework.

extension commands from project hal_gigadevice (path: modules/hal/gigadevice):
  gigadevice:           Gigadevice tools for west framework.

Run "west help <command>" for help on each <command>.
 ~/P/z/m/h/gigadevice   dev-westext ±  west gigadevice install
command is install
we can install some pack for pyocd
TODO: RUN: pyocd pack install gd32e103

@feilongfl feilongfl changed the title DNM: zephyr: west: add gigadevice west extension commands Add gigadevice west extension commands Jan 10, 2023
@feilongfl feilongfl changed the title Add gigadevice west extension commands west: Add gigadevice west extension commands Jan 10, 2023
@feilongfl feilongfl force-pushed the dev-westext branch 2 times, most recently from c64a28e to 74a71dc Compare January 13, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant