-
Notifications
You must be signed in to change notification settings - Fork 2k
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
makefiles/tools/uf2conv.inc.mk: partial riotboot support #16323
Conversation
3d85e13
to
8090fb7
Compare
8090fb7
to
fd2c69a
Compare
With the last push |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
Individual files need to be converted to uf2 format, targets flashing individual slots or the bootloader will work: - riotboot/flash-slot% - riotboot/flash-bootloader 'flash' also works by flashing both the bootloader and slot0 independently. But not targets flashing combined/extended versions since conversion of the blob is not possible with the uf2conv.py script.
fd2c69a
to
a945ea1
Compare
Can we get this one in as is? I does not cover all cases, but at least allows for some basic riotboot flash support with uf2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks innocent enough and should only affect uf2conv
Thanks! |
Contribution description
Follow up to #16276, by setting the correct base when converting some of the
riotboot/%
commands are now supported. The other ones require to flash a binaryTesting procedure
flash bootloader
BOARD=feather-nrf52840 make -C tests/riotboot riotboot/flash-bootloader
flash slot0
BOARD=feather-nrf52840 make -C tests/riotboot riotboot/flash-slot0
BOARD=feather-nrf52840 make -C tests/riotboot riotboot/flash-slot1
I have not yet figured out how to concatenate two uf2 files so that
flash
can seamlessly be used.Issues/PRs references
depends on #16276