Skip to content

feat: fqbn override for compilation#408

Draft
lucarin91 wants to merge 3 commits into
mainfrom
correctly-add-menu-options
Draft

feat: fqbn override for compilation#408
lucarin91 wants to merge 3 commits into
mainfrom
correctly-add-menu-options

Conversation

@lucarin91

@lucarin91 lucarin91 commented May 15, 2026

Copy link
Copy Markdown
Contributor

Motivation

Allow FQBN compilation target customization. There are some cases in which we would like to use a different FQBN as a compilation target, for instance, if we want to test a special platform or if we want to inject some compilation menu option.

Change description

The FQBN will now be obtained from the following sources (the first one present wins):

  • the one specified in the sketch.yaml
  • then the one in the platform.json override file
  • then the hardcoded one

In all of those cases, the fqbn will be enriched with the menu option WaitForApp.

Additional Notes

Reviewer checklist

  • PR addresses a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.
@lucarin91 lucarin91 requested a review from dido18 May 18, 2026 08:38
@lucarin91 lucarin91 changed the title fix: handle multiple menu options in fqbn May 18, 2026
@lucarin91 lucarin91 changed the title fix: handle fqbn override for compilation May 18, 2026
@per1234 per1234 added the enhancement New feature or request label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

2 participants