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

Allow skipping the padding for image files #230

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

Janrupf
Copy link
Contributor

@Janrupf Janrupf commented Sep 6, 2022

Currently espflash creates a 16MB image when specifying a flash size of 16MB. When mass producing devices a flash size of 16MB significantly slows down the flashing process without any benefit.

In order to not break backwards compatibility and expectations a new command line switch has been introduced --skip-padding, which reduces the image size to only what is really used.

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

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

This seems reasonable enough, thank you for contributing!

Before I merge, I just wanted to note that we are in the process of re-licensing the project (see #224 for details), so if you could please comment in that issue or in this PR stating that you consent to the new licensing (assuming you do, of course!) then I will happily merge this.

@Janrupf
Copy link
Contributor Author

Janrupf commented Sep 8, 2022

Sure thing!
#224 (comment)

@jessebraham
Copy link
Member

Thanks!

@jessebraham jessebraham merged commit 11620c9 into esp-rs:master Sep 8, 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.

2 participants