Update BSP extension reference to avocado.target.board#1
Open
mobileoverlord wants to merge 1 commit intomainfrom
Open
Update BSP extension reference to avocado.target.board#1mobileoverlord wants to merge 1 commit intomainfrom
mobileoverlord wants to merge 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates every reference example's
avocado.yaml(and matchinggetting_started.md) to useavocado-bsp-{{ avocado.target.board }}instead ofavocado-bsp-{{ avocado.target }}.Why
Avocado 0.37 splits the
targetJinja variable into a structured object withboard(and carrier) sub-attributes. Previouslyavocado.targetresolved to the board name as a flat string; going forward it's a dict, and the BSP extension name lives atavocado.target.board. This unblocks targets that pair a SoM/board with a separate carrier — the BSP extension is keyed on the board, while other parts of a manifest can reference the carrier independently.Without this change, rendering a manifest under 0.37 produces
avocado-bsp-{...}references that no longer resolve, and SDK/runtime resolution fails.Scope
embedded-vision-summit/is intentionally excluded (still untracked / WIP, not part of the standard reference set).Test plan
avocado buildagainst a 0.37 SDK on at least one reference (e.g.qemu-quickstart) to confirm the templated extension name resolves.react-dashboard,nodejs-dashboard,elixir-phoenix) where the BSP appears in multiple sections.