doc: _extensions: boards: fix bug in board target name computation

The board revision should appear right after board name, not after the
qualifiers as was previously done.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2025-03-25 09:34:39 +01:00 committed by Benjamin Cabé
commit 7d1e98db70

View file

@ -138,10 +138,10 @@ def gather_board_devicetrees(twister_out_dir):
revision = board_info.get('revision', '')
board_target = board_name
if qualifier:
board_target = f"{board_name}/{qualifier}"
if revision:
board_target = f"{board_target}@{revision}"
if qualifier:
board_target = f"{board_target}/{qualifier}"
with open(edt_pickle_file, 'rb') as f:
edt = pickle.load(f)