Writing to Flash with SoftDevice [Arduino]

Hello, 

 I am aware that this is not an Arduino support forum, but if I'm not violating any rules, I'd like to ask a question in hope that someone might have provide a helpful advice. 

In that spirit, has anyone figured out how to write into the nRF52832 Flash from the main application? There is a library Arduino NVM that does the great job, but sadly, it wont work when the SoftDevice is used, i.e. when any BLE functionality is wanted.

The official Nordic examples are recommending to use their fstorage or FDS functions, but I’ve been struggling for two weeks now to make it work in Arduino.

The reason that I'm using Arduino in the first place is the great library for a certain sensor that I have, and I definitely lack the skills to port the code of that library into the nRF52 SDK compatible code. I also lack the skill to port fstorage into Arduino, so Im kinda ping-ponging two dead ends now. 

Related