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 should be able to list boards #53

Closed
galak opened this issue Sep 26, 2018 · 2 comments
Closed

west should be able to list boards #53

galak opened this issue Sep 26, 2018 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers priority: low

Comments

@galak
Copy link
Contributor

galak commented Sep 26, 2018

If we do something like:

$ west build --board
usage: west build [-h] [-b BOARD] [-s SOURCE_DIR] [-d BUILD_DIR] [-t TARGET]
                  [-c] [-f]
                  [cmake_opt [cmake_opt ...]]
west build: error: argument -b/--board: expected one argument

Would be nice if west could list the boards available.

@galak galak added the enhancement New feature or request label Sep 26, 2018
@mbolivar mbolivar added the good first issue Good for newcomers label Sep 26, 2018
@sathishscripts
Copy link

@mbolivar Shall I attempt this?

@mbolivar
Copy link
Contributor

mbolivar commented Oct 9, 2018

Please have a go!

sathishscripts added a commit to sathishscripts/west that referenced this issue Oct 9, 2018
Signed-off-by: Sathishkumar Duraisamy <sathishkumar.duraisamy@yahoo.com>
sathishscripts added a commit to sathishscripts/west that referenced this issue Oct 26, 2018
Signed-off-by: Sathishkumar Duraisamy <sathishkumar.duraisamy@yahoo.com>
carlescufi added a commit to carlescufi/zephyr that referenced this issue May 3, 2019
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 zephyrproject-rtos/west#53

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers priority: low
Projects
None yet
Development

No branches or pull requests

3 participants