Skip to content

feat: add support for DFU and DfuSe tooling#915

Merged
Grazfather merged 2 commits intomainfrom
feat/dfu-and-dfuse
Mar 3, 2026
Merged

feat: add support for DFU and DfuSe tooling#915
Grazfather merged 2 commits intomainfrom
feat/dfu-and-dfuse

Conversation

@rbino
Copy link
Collaborator

@rbino rbino commented Mar 2, 2026

Generate a standard DFU image or an STLink DfuSe image from the MicroZig build system.

Tested by flashing the blinking LED example on a Daisy Seed (the porting is still WIP so I will open a separate PR), and also checking that the resulting .dfu is bit-by-bit identical to the one generated by this C tool starting from the same ELF.

Close #145

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

⚠️ Unused Imports Found

build.zig:39:0: exe_targets is unused
build.zig:17:0: regz is unused

Run zigimports --fix <file> locally to automatically remove unused imports.

@rbino rbino force-pushed the feat/dfu-and-dfuse branch from 2c567c1 to 26b1500 Compare March 3, 2026 00:05
Generate a standard DFU image or an STLink DfuSe image from the MicroZig
build system
@rbino rbino force-pushed the feat/dfu-and-dfuse branch from 26b1500 to 034aa9f Compare March 3, 2026 00:06
Copy link
Collaborator

@Grazfather Grazfather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

Fix typos in comments

Co-authored-by: Grazfather <grazfather@gmail.com>
@rbino
Copy link
Collaborator Author

rbino commented Mar 3, 2026

@Grazfather should I merge this myself? I see I'm still a contributor but haven't contributed in a bit 😅

@Grazfather
Copy link
Collaborator

I was waiting for someone else to review, but it's OK. I will

@Grazfather Grazfather merged commit 84d7a7e into main Mar 3, 2026
111 of 112 checks passed
@Grazfather Grazfather deleted the feat/dfu-and-dfuse branch March 3, 2026 23:27
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.

Add support for DFU package creation

2 participants