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

Add DFU suffix to .bin file #323

Merged
merged 2 commits into from
Oct 21, 2014
Merged

Add DFU suffix to .bin file #323

merged 2 commits into from
Oct 21, 2014

Conversation

towynlin
Copy link
Contributor

Also fix dfu-suffix call with vendor and product flags,
not device flag, which was incorrect.
@towynlin
Copy link
Contributor Author

towynlin commented Oct 7, 2014

Commit 8d62c8d creates a separate core-firmware.dfu file, leaving core-firmware.bin untouched.

@towynlin
Copy link
Contributor Author

towynlin commented Oct 7, 2014

For anyone who's curious, the DFU suffix is 16 bytes added at the end of the file, as specified on page 40 of the USB DFU spec:
http://www.usb.org/developers/docs/devclass_docs/DFU_1.1.pdf

towynlin pushed a commit that referenced this pull request Oct 21, 2014
@towynlin towynlin merged commit 635be0a into master Oct 21, 2014
@towynlin towynlin deleted the feature/dfu-suffix branch October 21, 2014 19:43
m-mcgowan added a commit that referenced this pull request Oct 28, 2014
avtolstoy pushed a commit that referenced this pull request Mar 31, 2022
P2: add S0 ~ S6 definitions as per the datasheet
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.

3 participants