Synchronization of FDS

Hi there,

I'm using the FDS in SDK 12.3 with a NRF51. I noticed that the FDS works asynchronous. Is there an easy way to make it synchronous?

  • Hello,

    If you are not calling the fds write/update APIs from any interrupt context, then you can make it blocking by simply adding a while(<fds pending> after the call. Maybe you say something about why you want it to be blocking? Typically one would just want queue up the flash operation and let the program continue to its next task. 

    Best regards,

    Vidar

Related