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

usb_dfu: Add DFU 1.1 support #11

Closed
wants to merge 4 commits into from
Closed

usb_dfu: Add DFU 1.1 support #11

wants to merge 4 commits into from

Conversation

hughsie
Copy link

@hughsie hughsie commented Nov 12, 2015

Fixes #9

If this is along the right lines, let me know and I'll add some example apps to this PR as well.

This allows us to re-use the buffer when using a decryption algorithm like XTEA.
USB_DFU_WRITE_FUNC() returns 0 for success or -1 for failure, which obviously
isn't a valid status code.
This adjusts the code to the API change that happened in d8b3e10
@hughsie
Copy link
Author

hughsie commented Sep 19, 2016

I've included a new patch that adapts this patchset to the new API in d8b3e10 and rebased it against master. Are you still interested in this patch? We've been using it in several of our shipped projects here on thousands of devices. Comments welcome!

Planet911 pushed a commit to Planet911/m-stack that referenced this pull request Dec 6, 2020
@hughsie hughsie closed this by deleting the head repository Nov 14, 2022
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.

RFC: Add support for DFU
1 participant