I'm currently evaluating the nRF52840dk using the nRF Connect SDK to determine whether or not to port over our codebase to it from a Xiao nRF52 module
I was using KVStore before, just storing an authToken char array which is set once after a network request and might be replaced once every couple months which worked perfectly for my needs. It just needs to be persisted between resets
It seems like the Nordic SDK's have historically provide several different libraries for this functionality:
- fstorage
- pstorage
- ble_flash
- Emergency Data Storage (EMDS)
- Flash Data Storage (FDS)
According to this answer Flash Data Storage (FDS) is the latest and greatest as of 6 years and several SDK's ago, but I can't even find a reference to it in the NCS docs here, only EMDS which I've mostly been using. But, from what I've read, you're only supposed to call `emds_store()` when it's about to lose power so I'm not sure if it's supposed to be the standard method for persistent data storage?
Can you explain or direct me to the docs for the recommended way to handle my persistent data in NCS v2.0.2?