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 --compact and --no-pad options to create CLI. #99

Merged
merged 2 commits into from
Jul 6, 2024
Merged

Conversation

BrianPugh
Copy link
Collaborator

When flashing to a system, it may be useful to have a more compact binary than the actual partition size going to be used. In some systems, this can rapidly speed up flashing.

@Gadgetoid
Copy link

Tested the CLI tool and it seems to work well.

Borrowed the main thrust of this into dir2uf2§ - Gadgetoid/dir2uf2@main...feature/compact - and tested on PicoSystem builds.

Took the examples included firmware flash .uf2 from 32MB down to 2.2MB. Huge difference.

§ - I try to ship filesystem included vs no filesystem firmwares so ended up writing this unholy tool to handle adding a filesystem into an existing uf2.

Thank you, this is awesome 🥳

@BrianPugh BrianPugh merged commit 2c79c66 into master Jul 6, 2024
12 checks passed
@BrianPugh BrianPugh deleted the compact branch July 6, 2024 16:00
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.

2 participants