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

Add Flash API #60

merged 5 commits into from Nov 30, 2019

Add Flash API #60

merged 5 commits into from Nov 30, 2019


Copy link

@hannobraun hannobraun commented Nov 27, 2019

Please note that implementing one of the features, writing half-pages to Flash, required some unconventional thinking, i.e. C source code and a binary blob. Please see the included comments for an explanation of why I found it necessary.

hannobraun added 4 commits Nov 27, 2019
This commit includes C code and a binary blob. Please refer to the
comments in the commit on why this is necessary.
Copy link
Contributor Author

hannobraun commented Nov 28, 2019

Pushed two new commits: I forgot a critical section and found a typo.

Copy link

arkorobotics commented Nov 30, 2019

Great work! Sounds like this will pave the way for folks to write bootloaders :) Writing half-pages to flash using only Rust sounds like an interesting problem. Hope we can patch the C code in the future!

@arkorobotics arkorobotics merged commit 0e7b571 into stm32-rs:master Nov 30, 2019
@hannobraun hannobraun deleted the flash branch Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants