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

Undefined reference to files for SAADC

Hello,

I'm having trouble getting my program to compile with the SAADC. I started with a BLE template then added the battery service with sensorsim from ble_app_hrs and now I'm trying to add SAADC functionality from ble_app_proximity. Everything works but these undefined references:

- undefined reference to `nrfx_saadc_sample'

- undefined reference to `nrfx_saadc_buffer_convert'

- undefined reference to `nrfx_saadc_init'

- undefined reference to `nrfx_saadc_channel_init'

To put it into perspective, everything having to do with this SAADC device is from ble_app_proximity so that could be used as a reference. I already did the following in sdk_config.h

#ifndef NRFX_SAADC_ENABLED
#define NRFX_SAADC_ENABLED 1
#endif

#ifndef SAADC_ENABLED
#define SAADC_ENABLED 1
#endif

My SDK version is 16.0.0 

Please let me know if there is anything that I could do.

Thank you!

Nick

Parents Reply Children
No Data
Related