Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
capsules: add mx25r6435f flash chip #978
Used on nrf52840dk.
Pull Request Overview
This pull request adds a driver for the mx25r6435f flash chip used on the nrf52840dk board.
This pull request was tested by running the nonvolatile_storage test app.
TODO or Help Wanted
I'm not sure how to get the nrf52dk to work as well without making nrf52_base super messy, since it does not have the flash chip.
This PR is a pretty straightforward addition of a new IC driver, except Nordic only put this flash chip on the nrf52840dk board and not the nrf52dk. I combined the two main.rs files before I knew this and now I'm not sure if there is a reasonable way to add it to one but not the other. In particular, adding it to the
The only ideas I have are to go back to separate main.rs files or to switch all the way to the component setup as in #1012. I'm wondering if anyone else has a spark of inspiration.