Skip to content

correct check for flash erase boundaries #2621

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

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

dhalbert
Copy link
Collaborator

Fixes #2620.

I was using the wrong values for the minimum flash erase granularity for SAMD51. Fixed and generalized the checks.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you!

@tannewt tannewt merged commit cabc30e into adafruit:master Feb 14, 2020
@dhalbert dhalbert deleted the flash-erase-check branch February 14, 2020 19:03
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.

Check at compile-time that CIRCUITPY_INTERNAL_NVM_SIZE size is a multiple of smallest flash erase size
2 participants