Skip to content
Browse files

scripts: fix and tweak west boards

- This script didn't get fixed when was renamed zcmake, so it
  won't run; fix that.
- Change the default format string to '{name}' to keep things simple
- Flake8 lint

Signed-off-by: Marti Bolivar <>
  • Loading branch information...
mbolivar authored and nashif committed May 4, 2019
1 parent bcf286d commit 4dbf5f1535a2c3162547f94c1b57a4c37bc876b8
Showing with 3 additions and 2 deletions.
  1. +3 −2 scripts/west_commands/
@@ -23,7 +23,7 @@ def __init__(self):
accepts_unknown_args=False) accepts_unknown_args=False)

def do_add_parser(self, parser_adder): def do_add_parser(self, parser_adder):
default_fmt = '{name} ({arch})' default_fmt = '{name}'
parser = parser_adder.add_parser( parser = parser_adder.add_parser(,,,,
@@ -75,7 +75,8 @@ def do_run(self, args, unknown_args):
match = board_re.match(line) match = board_re.match(line)
if match: if match:
if not arch: if not arch:
log.die('Invalid board output from CMake: {}'.format(lines)) log.die('Invalid board output from CMake: {}'.
board = board =
boards[arch].append(board) boards[arch].append(board)

0 comments on commit 4dbf5f1

Please sign in to comment.
You can’t perform that action at this time.