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

builder: Add conditional flash map overrides in bsp.yml #589

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

m-gorecki
Copy link
Contributor

@m-gorecki m-gorecki commented Nov 26, 2024

This allows to conditionally override flash maps in bsp.yml and target.yml with bsp.flash_map.
Initial priority of bsp.yml and target.yml is preserved - if there is any bsp.flash_map definition in target.yml, all flash maps from bsp.yml are ignored. Default bsp.flash_map definition (without any condition) is still needed.

This allows to conditionally override flash maps in bsp.yml
and target.yml with bsp.flash_map.<CONDITION>
Initial priority of bsp.yml and target.yml is
preserved - if there is any bsp.flash_map definition
in target.yml, all flash maps from bsp.yml are ignored.
Default bsp.flash_map definition (without any condition)
is still needed.
Copy link
Contributor

@kasjer kasjer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified to work, LGTM

@m-gorecki m-gorecki merged commit 427c42b into apache:master Nov 28, 2024
70 checks passed
@m-gorecki m-gorecki deleted the flash-map-override branch November 28, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants