Hi,
I am trying to store data in the flash for persistent storage but when I try to include “fstorage.h” and calling fs_init() the build fails telling me the function doesn’t exsist.
I checked the fstorage tick box under VisualGDB Project Properties – Embedded Frameworks.
The same goes for the pstorage.h file.
They do exist in the BSP so I copied them into my project.
But when I try to call “uint32_t retval2 = pstorage_clear(&block_0_handle, 48);” or “pstorage_update(&block_0_handle, source_data_9, 16, 0);” the callback always returns with NRF_ERROR_INVALID_ADDR
fstorage does work when you add it to your project manually. So cheers =)