I'm having some problems getting the sections/observers to work properly. Using SDK v15.3 and Crossstudio for ARM v4.4.2
If I break at ( nrf_sdh.c )
void SD_EVT_IRQHandler(void) { nrf_sdh_evts_poll(); }
I can see that the interrupt is fired correctly by softdevice. But the call to nrf_sdh_evts_poll does not result in any calls to the handlers..
I've registered two handlers like this :
NRF_SDH_SOC_OBSERVER(m_soc_observer, 1, nrf_sdh_soc_evt_handler, 0);
NRF_SDH_BLE_OBSERVER(m_ble_observer, 3, ble_evt_handler, 0);
If I use the "old way" by calling sd_evt_get and sd_ble_evt_get I can retreive the required events, but I would like to get the sections/observers working.
Any suggestions ?