Browse Source

scripts: support SoC list output for boards

Extending board output with SoC information.
This provides the possibility to print all SoCs present for boards in
new hw model.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
pull/69687/head
Torsten Rasmussen 2 years ago committed by Jamie McCrae
parent
commit
bcc06c60ae
  1. 2
      scripts/list_boards.py

2
scripts/list_boards.py

@ -297,6 +297,7 @@ def dump_v2_boards(args): @@ -297,6 +297,7 @@ def dump_v2_boards(args):
REVISION_EXACT='REVISION_EXACT;' + str(b.revision_exact),
REVISIONS='REVISIONS;' + ';'.join(
[x.name for x in b.revisions]),
SOCS='SOCS;' + ';'.join([s.name for s in b.socs]),
IDENTIFIERS='IDENTIFIERS;' + ';'.join(identifiers)
)
print(info)
@ -321,6 +322,7 @@ def dump_boards(args): @@ -321,6 +322,7 @@ def dump_boards(args):
REVISION_EXACT='REVISION_EXACT;NOTFOUND',
REVISIONS='REVISIONS;NOTFOUND',
VARIANT_DEFAULT='VARIANT_DEFAULT;NOTFOUND',
SOCS='SOCS;',
IDENTIFIERS='IDENTIFIERS;'
)
print(info)

Loading…
Cancel
Save