FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(upload): add generic UF2 uploader recipe by cumin777 · Pull Request #3061 · stm32duino/Arduino_Core_STM32 · GitHub

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 commented Aug 27, 2026
edited
Loading

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 commented Aug 27, 2026

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Contributor Author

Hi @fpistm,
The bootloader is currently maintained in a private Seeed-Studio repository, so the official feature branch is not publicly accessible.
For review, I have made the corresponding feature branch available in my public fork:
https://github.com/cumin777/tinyuf2/tree/feature/stm32c5-uf2-bootloader

Please let me know if any additional information is needed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL