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

Radio Notifications - undefined reference to 'sd_nvic_ClearPendingIRQ'

I am just working through the tutorial on radio notifications and imported "ble_radio_notifications.c" to my application folder and included the header in included directories.

I walked through the other steps of the tutorial but now I am unable to build and the output is saying undefined reference to sd_nvic_ClearPendingIRQ (as well as the other two sd_nvic_'s in "ble_radio_notificiation_init")

This seems strange since the user included directories is pointing to the relevant soft device headers file (as you would expect since before adding be_radio_notification it worked fine).

What am I missing?

This is nRF52, SDK11, PCA10040, SD132 2.0.0. Also using SES.

Thanks - RJH

Parents
  • Just to provide additional colour:

    1> Output/nrf52832_xxaa_s132 Release/Obj/ble_radio_notification.o: In function ble_radio_notification_init': 1> ble_radio_notification.c:(.text.ble_radio_notification_init+0xc): undefined reference tonrf_nvic_ClearPendingIRQ' 1> ble_radio_notification.c:(.text.ble_radio_notification_init+0x16): undefined reference to sd_nvic_SetPriority' 1> ble_radio_notification.c:(.text.ble_radio_notification_init+0x1e): undefined reference tosd_nvic_EnableIRQ'

    That is the full output transcript on build.

Reply
  • Just to provide additional colour:

    1> Output/nrf52832_xxaa_s132 Release/Obj/ble_radio_notification.o: In function ble_radio_notification_init': 1> ble_radio_notification.c:(.text.ble_radio_notification_init+0xc): undefined reference tonrf_nvic_ClearPendingIRQ' 1> ble_radio_notification.c:(.text.ble_radio_notification_init+0x16): undefined reference to sd_nvic_SetPriority' 1> ble_radio_notification.c:(.text.ble_radio_notification_init+0x1e): undefined reference tosd_nvic_EnableIRQ'

    That is the full output transcript on build.

Children
No Data
Related