Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 7 months ago.
nRF52-DK Store data in flash
How to Store data in flash with NRF52832 on online compiler? Is there a example to follow?
Question relating to:
2 Answers
6 years, 6 months ago.
This is not currently supported. Though, you could buy an external flash chip and then use the BlockDevice API or FileSystem API (on top of BlockDevice) to store data there - https://os.mbed.com/docs/v5.6/reference/storage-overview.html.
6 years, 6 months ago.
It is supported through Nordic's fstorage
API. For an example, see https://github.com/roywant/EddystoneBeacon/blob/8d4f7fdc614e927e581c45a0b55adc194ffc8650/source/PersistentStorageHelper/nrfPersistentStorageHelper/nrfConfigParamsPersistence.cpp.