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>
This commit is contained in:
Torsten Rasmussen
2024-01-04 14:20:00 +01:00
committed by Jamie McCrae
parent db9e46010c
commit bcc06c60ae

View File

@@ -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):
REVISION_EXACT='REVISION_EXACT;NOTFOUND',
REVISIONS='REVISIONS;NOTFOUND',
VARIANT_DEFAULT='VARIANT_DEFAULT;NOTFOUND',
SOCS='SOCS;',
IDENTIFIERS='IDENTIFIERS;'
)
print(info)