Regarding nrf_fstorage, nrf_sdh_soc.c may be required (Documentation update needed?)

Hello,

I'm using the NRF52840 with the NRF5 SDK v15.3.0 and S140.

I was trying to include the nrf_fstorage library into an existing project. The problem I experienced was that once I triggered a write operation, nrf_fstorage_is_busy would always return true. The backend used is nrf_fstorage_sd. The SD was enabled with nrf_sdh_enable_request, but the BLE stack was not activated.

After some debugging of the fstorage example I figured out that out project didn't include  nrf_sdh_soc.c. Thus, the event handler nrf_sdh_soc_evts_poll wasn't registered, and thus nrf_fstorage_sys_evt_handler was never called. (Relevant section seems to be sdh_stack_observers)

I thought this might help some people. Also, maybe I didn't see it, but should the documentation include a hint about it (making sure a working event handler is present)?

Parents Reply Children
No Data
Related