This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Issues in nrf_sdh.c file, error: 'SD_EVT_IRQn' undeclared

I am getting this error on SES

"components\softdevice\common\nrf_sdh.c:164:20: error: 'SD_EVT_IRQn' undeclared (first use in this function); did you mean 'QDEC_IRQn'?"

SD_EVT_IRQn is defined in nrf_soc.h file

and I have included it in User Include Directories "../../components/softdevice/s140/headers"

but still, I am getting this error.

Note: I am trying to include softdevice in my project but only this error is hampering me.

DO LET ME KNOW IF ANYTHING IS REQUIRED.

Related