Skip to content

feat(upload): add generic UF2 uploader recipe - #3061

Draft
cumin777 wants to merge 1 commit into
stm32duino:mainfrom
cumin777:split/uf2-upload-recipe
Draft

feat(upload): add generic UF2 uploader recipe#3061
cumin777 wants to merge 1 commit into
stm32duino:mainfrom
cumin777:split/uf2-upload-recipe

Conversation

@cumin777

@cumin777 cumin777 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds a generic Arduino upload recipe for boards that use a UF2 bootloader reached through a CDC 1200-bps touch and then exposed as a UF2 mass-storage volume.

This PR implements the following feature:

  • Add the uf2upload tool definition and upload command in platform.txt.
  • Breaking changes

The recipe keeps board-specific UF2 address, family ID, volume label, size limit, and timeout values in boards.txt, while sharing one uploader definition across boards.

Dependencies and split

Validation

  • The change is limited to the generic tools.uf2upload.* definition in platform.txt.
  • End-to-end upload validation depends on the Arduino_Tools Make Serialx instance generic #122 executable and its packaged STM32Tools release.

Code formatting

  • AStyle formatting is not applicable to this platform configuration change; CI should verify the repository checks.

Closing issues

None.

@fpistm

fpistm commented Aug 27, 2026

Copy link
Copy Markdown
Member

Thanks for the PR.
Where can we find the bootloader ?

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