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
merged 5 commits into from
Nov 30, 2019
Merged

Add Flash API #60

merged 5 commits into from
Nov 30, 2019

Conversation

hannobraun
Copy link
Contributor

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.

This commit includes C code and a binary blob. Please refer to the
comments in the commit on why this is necessary.
@hannobraun
Copy link
Contributor Author

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

@arkorobotics
Copy link
Member

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 December 2, 2019 10: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.

2 participants