Skip to content

feat: use {{ avocado.target.board }} for BSP ext in init template#140

Merged
mobileoverlord merged 2 commits into
mainfrom
rel/0.37.1
May 5, 2026
Merged

feat: use {{ avocado.target.board }} for BSP ext in init template#140
mobileoverlord merged 2 commits into
mainfrom
rel/0.37.1

Conversation

@mobileoverlord
Copy link
Copy Markdown
Contributor

@mobileoverlord mobileoverlord commented May 5, 2026

Summary

  • Update avocado init default template so the generated avocado-bsp extension reference uses {{ avocado.target.board }} instead of {{ avocado.target }}, letting projects with multiple boards on a shared target resolve to the right BSP package. Falls back to target when no board is set, so existing single-board projects are unaffected.
  • Bump version to 0.37.1.

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test (all suites pass)
  • Verify avocado init on a multi-board target picks up the correct BSP package

`avocado init` now generates the avocado-bsp extension reference using
`{{ avocado.target.board }}` so projects targeting boards within a
shared target (e.g. multiple SoMs on one machine) resolve to the right
BSP package. Defaults to the resolved target when no board is set, so
existing single-board projects are unaffected.
@mobileoverlord mobileoverlord merged commit 910e773 into main May 5, 2026
5 checks passed
@mobileoverlord mobileoverlord deleted the rel/0.37.1 branch May 5, 2026 12:54
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.

1 participant