-
Notifications
You must be signed in to change notification settings - Fork 144
A common HAL NVMC abstraction - needed? #336
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
Comments
The driver could impl |
Hi, AFAIU #337 did not implement Thanks! |
I just implemented what I needed at the time. I’d suggest a new PR. Thanks. |
Sure thing! I created #373. I only implemented it for the nRF52 boards since I'm not familiar with the other ones. |
373: Implement MultiwriteNorFlash for nRF52 boards that support it r=jonas-schievink a=ia0 This PR implements `MultiwriteNorFlash` as suggested [here](#336 (comment)). I only listed nRF52 boards that support writing twice to the same word, because I'm not familiar with the other boards or crate features. Co-authored-by: ia0 <[email protected]>
Do we need a common-hal abstraction for the NVMC as per https://github.com/NordicSemiconductor/nrfx/blob/7eca6c2dc02b24cbdaa3ba0e63a7195e34ebe07c/hal/nrf_nvmc.h#L259
Writing code to interact with the NVMC on the nRF9160 is quite error prone e.g. to write out a 32 bit slice given a static mut of CONFIG positioned in flash:
The text was updated successfully, but these errors were encountered: