Skip to content
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

Fix BMD Bootloader to handle DFU_DETACH requests explicitly #2079

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ALTracer
Copy link
Contributor

Detailed description

  • This is a minor feature with no new code.
  • The existing problem is BMD bootloader ignoring dfu-util --detach requests. It still does reboot on dfu-util -s :leave.
  • This PR solves it by adding an explicit request handler.

DFU runtime is unaffected, it already handles DFU_DETACH.
BMD bootloader still auto-reboots in Manifest phase when it has written a new firmware, this is not about that.
Tested on blackpill-f411ce with dfu-util -v and bmputil.

Your checklist for this pull request

Closing issues

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.

1 participant