Skip to content

doc: Board Search and Board Supported Features see only first DT compatible string #104464

@butok

Description

@butok

Describe the bug

The Documentation the board search and the board supported features see only first DT compatible string.
To reproduce:

  1. Browse to https://docs.zephyrproject.org/latest/boards/index.html#vendor=nxp&compatibles=nxp%2Ccmc-reset-cause
  2. You will see only two boards that has compatible "nxp,cmc-reset-cause":
Image
  1. The issue is that there are much more "nxp,cmc-reset-cause" compatible boards.
 \zephyr\dts\arm\nxp\mcx\nxp_mcxa153.dtsi:
	Line 455: 			compatible = "nxp,cmc", "nxp,cmc-reset-cause";
 \zephyr\dts\arm\nxp\mcx\nxp_mcxa156.dtsi:
	Line 591: 			compatible = "nxp,cmc", "nxp,cmc-reset-cause";
 \zephyr\dts\arm\nxp\mcx\nxp_mcxa344.dtsi:
	Line  65: 		compatible = "nxp,cmc-reset-cause";
 \zephyr\dts\arm\nxp\mcx\nxp_mcxa5x_common.dtsi:
	Line  35: 		compatible = "nxp,cmc-reset-cause";
\zephyr\dts\arm\nxp\mcx\nxp_mcxaxx6_common.dtsi:
	Line 548: 			compatible = "nxp,cmc", "nxp,cmc-reset-cause";
  1. You can notice that the documentation generator takes into account only the first compatible and ignores the rest.

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

Latest main Documentation

Additional Context

No response

Metadata

Metadata

Assignees

Labels

area: DocumentationbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions