I have used pstorage before but when I add scheduler to my project I face an error in update function of pstorage that in debug I found error_code : NRF_ERROR_NO_MEM . any idea of what happened??
I have used pstorage before but when I add scheduler to my project I face an error in update function of pstorage that in debug I found error_code : NRF_ERROR_NO_MEM . any idea of what happened??
Have you made sure you added app_sched_execute() in the main loop ? pstorage_update() return NRF_ERROR_NO_MEM if the pstorage buffer is full. Could you check pstorage_sys_event_handler is called inside sys_evt_dispatch() ?
Could you check what is the value of PSTORAGE_CMD_QUEUE_SIZE in pstorage_platform ?
In first call that I call pstorage_update() error occurs but for example pstorage_load() not causes an error !! How do I find where code returned?
In first call that I call pstorage_update() error occurs but for example pstorage_load() not causes an error !! How do I find where code returned?