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

Fix write-bin padding #788

Merged
merged 7 commits into from
Feb 26, 2025
Merged

Conversation

SergioGasquez
Copy link
Member

While testing if #622 was resolved by #780, I noticed that #780 failed to flash a non-4-padded bin on the first try, the second would work as it would write the padding to the bin.

I updated the padding mechanism to not write the binary and it now works also on the first iteration.

Also added a HIL test.

@SergioGasquez SergioGasquez linked an issue Feb 26, 2025 that may be closed by this pull request
@SergioGasquez SergioGasquez force-pushed the fix/bin-padding branch 3 times, most recently from 6b66339 to dd9e4b0 Compare February 26, 2025 14:09
@SergioGasquez SergioGasquez marked this pull request as ready for review February 26, 2025 14:33
Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

Thanks!

@SergioGasquez SergioGasquez added this pull request to the merge queue Feb 26, 2025
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding a HIL test!

@SergioGasquez SergioGasquez removed this pull request from the merge queue due to a manual request Feb 26, 2025
@SergioGasquez SergioGasquez added this pull request to the merge queue Feb 26, 2025
Merged via the queue into esp-rs:main with commit e41be4f Feb 26, 2025
24 checks passed
@SergioGasquez SergioGasquez deleted the fix/bin-padding branch February 26, 2025 15:10
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.

write-bin does not flash binary
3 participants