Skip to content

Commit 4b716ce

Browse files
committed
[nrf noup] boards: add board full_name field
Apply 50ffc77 as noup. To be dropped after the board & SoC extensions PR is rebased. Signed-off-by: Grzegorz Swiderski <[email protected]>
1 parent 84242b6 commit 4b716ce

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

scripts/list_boards.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class Board:
9494
# HWMv1 only supports a single Path, and requires Board dataclass to be hashable.
9595
directories: Union[Path, List[Path]]
9696
hwm: str
97+
full_name: str = None
9798
arch: str = None
9899
vendor: str = None
99100
revision_format: str = None
@@ -278,6 +279,7 @@ def load_v2_boards(board_name, board_yml, systems):
278279
name=board['name'],
279280
directories=[board_yml.parent],
280281
vendor=board.get('vendor'),
282+
full_name=board.get('full_name'),
281283
revision_format=board.get('revision', {}).get('format'),
282284
revision_default=board.get('revision', {}).get('default'),
283285
revision_exact=board.get('revision', {}).get('exact', False),

scripts/schemas/board-schema.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ schema;board-schema:
4343
required: false # Note: either name or extend is required, but that is handled in python
4444
type: str
4545
desc: Name of the board
46+
full_name:
47+
required: false
48+
type: str
49+
desc: Full name of the board. Typically set to the commercial name of the board.
4650
extend:
4751
required: false # Note: either name or extend is required, but that is handled in python
4852
type: str

0 commit comments

Comments
 (0)