Hello
In pm_static.yml I defined a flash partition, intended to save some NV-flags for the application, which should survive OTA/DFU updates.
The project uses BLE for OTA/DFU and for application communication.
To erase / write I used the zephyr routines from flash.h (i.e. flash_write(), flash_erase(), ...) and everything seems to work OK in the lab with the development kit.
On the other hand, the SoftDevice-API encourages to use this routines to avoid problems with BLE (see developer.nordicsemi.com/.../api.html
But there is no sample code for the SD-solution, neither searching the web for, e.g., the function sdc_soc_flash_page_erase_async().
What is the recommended solution? Can the approach from the Zepyhr example project "soc_flash_nrf" be safely used with BLE...?
In case the SoftDevice - approach is the recommended solution, can you please point to an example of its proper using?
Best Regards
Gerardo