Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK14.2 PM_EVT_FLASH_GARBAGE_COLLECTED generated even if garbage collection fails

Hi Nordic,

I'm looking at the PM_EVT_FLASH_GARBAGE_COLLECTED event in SDK14.2 and have noticed that  it is generated even if garbage collection fails. Currently no error code is returned with the event so, there is no way to tell whether GC succeeded or failed without using other information

For example, from another FDS_evt_handler, I can see that GC is timing out but PM_EVT_FLASH_GARBAGE_COLLECTED is generated.

Also since it takes so long, I think a function in the FDS module to tell whether garbage collection is in progress or not could be quite useful.

Parents Reply Children
No Data
Related