Commit 72c1a1b6 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by github-actions[bot]
Browse files

doc: _scripts: ensure twister.yaml file is considered in board catalog



Boards may use twister.yaml file to define Twister platforms, so
board catalog should also parse them.

Fixes: zephyrproject-rtos/zephyr#95721.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
(cherry picked from commit 9f181b67)
parent 4217df50
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -360,7 +360,7 @@ def get_catalog(generate_hw_features=False, hw_features_vendor_filter=None):
        # Grab all the twister files for this board and use them to figure out all the archs it
        # supports.
        board_archs = set()
        pattern = f"{board.name}*.yaml"
        for pattern in (f"{board.name}*.yaml", "twister.yaml"):
            for twister_file in board.dir.glob(pattern):
                try:
                    with open(twister_file) as f: