Hi,
I use NRF52840 on a custom board. I am utilizing low-level SoftDevice flash API for accessing flash:
sd_flash_page_erase() and sd_flash_write().
I want to register an event handler so that I can received notification when the flash operation is done and also to receive the status.
I did it by calling NRF_SDH_SOC_OBSERVER as follow:
NRF_SDH_SOC_OBSERVER(m_soc_evt_observer, 0, FlashEvtHandler, NULL);
However, I got this compile error: "the size of an array must be greater than zero"
What did I do wrong?
Does it refer to m_soc_evt_observer? I couldn't find its declaration in the library nor in the example code.
Thank you.