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

ADC softdevice sd_nvic_SetPriority

Hi

I'm having issues implementing ADC sampling to my ble project. I'm using the nRF51-DK with SDK11 and S130. I used the example from github (github.com/.../adc-example-with-softdevice), but i am unable to build the project.

Getting following errors:

error: 'NRF_APP_PRIORITY_LOW' undeclared (first use in this function)
error: implicit declaration of function 'sd_nvic_EnableIRQ' [-Werror=implicit-function-declaration]

This is weired since softdevice_handler.h is included in the project. Also i would like to ask if it is a good idea to use the ADC hal driver instead?

Would appriciate some help.

main.c

Parents Reply Children
No Data
Related