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

Write flash in 256-bit chunks correctly #371

Merged
merged 5 commits into from
Jul 27, 2022

Conversation

lachlansneff-parallel
Copy link
Contributor

Currently, the flash driver doesn't correctly split data into 256 bit chunks when writing. This PR fixes that as well as fixes error handing around flash operations and adds more expressive flash errors.

Copy link
Member

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

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

Can you please add a CHANGELOG entry as well?

src/flash.rs Outdated Show resolved Hide resolved
Copy link
Member

@richardeoin richardeoin left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the PR @lachlansneff-parallel and @ryan-summers for reviewing

bors r+

@bors bors bot merged commit 71e2b75 into stm32-rs:master Jul 27, 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.

3 participants