I have a question most like devzone.nordicsemi.com/.../
And my configure is
FS_REGISTER_CFG(fs_config_t fs_config) =
{
.callback = fs_evt_handler, // Function for event callbacks.
.num_pages = 4,
.priority = 0xFE // Priority for flash usage.
};
I add the debug trace at sys_evt_dispatch function. It doesn't trigger. And I also confirmed the fs_init is called and fs_config get the start and end address. And I can read the data even it doesn't trigger the event.
How can I trigger this event? Because my logic also need erase the swap flash and this depend on the event.