-
-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for producing UF2-format binaries. #12435
Conversation
Another submodule? 😢 |
It's a pretty simple single file script. |
Ideally... but as far as I can see it isn't :( Anyways, copied to |
* First stab at enabling builds of UF2-format binaries. * Add description on producing a UF2 file.
* First stab at enabling builds of UF2-format binaries. * Add description on producing a UF2 file.
* First stab at enabling builds of UF2-format binaries. * Add description on producing a UF2 file.
* First stab at enabling builds of UF2-format binaries. * Add description on producing a UF2 file.
Description
This PR adds support for producing UF2-formatted binaries using the utility scripts provided by the microsoft/uf2 repository.
Raspberry Pi's RP2040 has in-silicon bootloader UF2 support for flashing binaries. There are other bootloaders available that do the same thing for other MCU families -- see https://github.com/microsoft/uf2#family-list -- so I'm adding this early so that it's locked in by the time ChibiOS picks up RP2040 support.
Flashing is not currently implemented -- the same conversion script can handle deployment -- this will follow later.
Types of Changes
Checklist