Skip to content

boards: use boards.h to indicated UF2 bootloader usage#21956

Merged
crasbe merged 1 commit intoRIOT-OS:masterfrom
maribu:boards/bootloader_uf2/do-not-use-cflags
Dec 16, 2025
Merged

boards: use boards.h to indicated UF2 bootloader usage#21956
crasbe merged 1 commit intoRIOT-OS:masterfrom
maribu:boards/bootloader_uf2/do-not-use-cflags

Conversation

@maribu
Copy link
Copy Markdown
Member

@maribu maribu commented Dec 15, 2025

Contribution description

Using CFLAGS += -DBOOTLOADER_UF2 poisens the ccache. Using the board.h only adds entropy to the files actually including that header.

The single user of that flag has been updated accordingly.

Testing procedure

The generated binaries should not change with this PR.

Issues/PRs references

None

@maribu maribu added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 15, 2025
@github-actions github-actions bot added the Area: boards Area: Board ports label Dec 15, 2025
@riot-ci
Copy link
Copy Markdown

riot-ci commented Dec 15, 2025

Murdock results

✔️ PASSED

bee4d7e boards: use boards.h to indicated UF2 bootloader usage

Success Failures Total Runtime
10950 0 10950 12m:37s

Artifacts

Copy link
Copy Markdown
Contributor

@crasbe crasbe left a comment

Choose a reason for hiding this comment

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

Looks good, you can squash the fixup directly.

Using `CFLAGS += -DBOOTLOADER_UF2` poisens the ccache. Using the
`board.h` only adds entropy to the files actually including that header.

The single user of that flag has been updated accordingly.

Co-authored-by: crasbe <[email protected]>
@maribu maribu force-pushed the boards/bootloader_uf2/do-not-use-cflags branch from 2c8eebb to bee4d7e Compare December 15, 2025 22:31
@crasbe crasbe enabled auto-merge December 15, 2025 22:32
@crasbe crasbe added this pull request to the merge queue Dec 16, 2025
Merged via the queue into RIOT-OS:master with commit d50c178 Dec 16, 2025
26 checks passed
@maribu maribu deleted the boards/bootloader_uf2/do-not-use-cflags branch December 16, 2025 05:48
@maribu
Copy link
Copy Markdown
Member Author

maribu commented Dec 16, 2025

Thx ❤️

@leandrolanzieri leandrolanzieri added this to the Release 2026.01 milestone Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: boards Area: Board ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants