Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HWMV2: Support having default variants for board/soc #82075

Open
decsny opened this issue Nov 26, 2024 · 0 comments
Open

HWMV2: Support having default variants for board/soc #82075

decsny opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
area: Build System Enhancement Changes/Updates/Additions to existing features HWMv2

Comments

@decsny
Copy link
Member

decsny commented Nov 26, 2024

Is your enhancement proposal related to a problem? Please describe.

A problem with the mimxrt1050_evk and mimxrt1060_evk boards is that they have variants once #79517 merges to describe which flash on the board (requiring board rework to change) should be targeted by the build for the soc. This means the base board mimxrt1050_evk/mimxrt1052 does not build as a valid target when given to west build command.

Describe the solution you'd like

What would be nice would be to be able to specify a default variant for the out of the box setup of the board. For example, the mimxrt1050_evk comes set up for hyperflash out of box, and the mimxrt1060_evk is set up for qspi out of box.

Describe alternatives you've considered

An alternative solution to deal with these boards (and maybe an orthogonal enhancement request) is to be able to specify multiple revisions of a board. I.e., something like mimxrt1060_evk@B@qspi ? Because reworking a board is kind of like making a revision, but the issue here is that the board already has revisions A, B, C, etc, and Zephyr HWM does not support "multi dimensional" revisions like that.

@decsny decsny added Enhancement Changes/Updates/Additions to existing features HWMv2 labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System Enhancement Changes/Updates/Additions to existing features HWMv2
Projects
None yet
Development

No branches or pull requests

3 participants