I am compiling the simple BLE HRS with freeRTOS example using gcc and eclipse environment. I followed the example provided on eclipse and was able to build the blinky example.
However, when I try to compile a program which needs a softdevice, I am facing an error.
Compiling file: ble_advdata.c ../../nRF5SDK/components/ble/common/ble_advdata.c: In function 'ble_device_addr_encode': ../../nRF5SDK/components/ble/common/ble_advdata.c:41:20: error: implicit declaration of function 'sd_ble_gap_address_get' [-Werror=implicit-function-declaration] err_code = sd_ble_gap_address_get(&device_addr);
I cannot find this function in any of the .c or .h file and an "sd_" prefix suggests that this is a softdevice function.
How do I resolve this error?
Thanks in anticipation, Regards, Himanshu.