Skip to content

boot: flash-erase-zero feature for compatibility with STM32L0x1 devices#3344

Merged
Dirbaio merged 1 commit intoembassy-rs:mainfrom
kingofpayne:fix-3342
Sep 16, 2024
Merged

boot: flash-erase-zero feature for compatibility with STM32L0x1 devices#3344
Dirbaio merged 1 commit intoembassy-rs:mainfrom
kingofpayne:fix-3342

Conversation

@kingofpayne
Copy link
Copy Markdown
Contributor

Proposal for issue #3342, subject for discussion. Any feedback is welcome.
Allow compatibility with devices whose flash erase set bytes to 0x00 instead of 0xFF, using a new flash-erase-zero feature.

Allow compatibility with devices whose flash erase set bytes to 0x00
instead of 0xFF, using a new flash-erase-zero feature.
See issue embassy-rs#3342.
Copy link
Copy Markdown
Member

@lulf lulf left a comment

Choose a reason for hiding this comment

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

Thanks for fixing. This used to work using a generic param to embassy-boot, but it appears that has been lost in refactorings. I think using a feature flag is a less intrusive way to handle this, so lgtm!

@lulf lulf added this pull request to the merge queue Sep 16, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 16, 2024
@lulf lulf added this pull request to the merge queue Sep 16, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 16, 2024
@lulf lulf added this pull request to the merge queue Sep 16, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 16, 2024
@Dirbaio Dirbaio merged commit 6d89f27 into embassy-rs:main Sep 16, 2024
i404788 pushed a commit to i404788/embassy that referenced this pull request Mar 23, 2025
Allow compatibility with devices whose flash erase set bytes to 0x00
instead of 0xFF, using a new flash-erase-zero feature.
See issue embassy-rs#3342.
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.

3 participants