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

CapSens Libraries not Linking

Dear All, 

I tried to take the Capp sense example and implement it in my beacon app which was based on the beacon app example. I am using nrf52382 and sdk16 , segger version 4.5.

I included all the libraries in the user-defined libraries in project options--.> common section...-->preprocessor.

 Below are the inlcude files:--

#include <stdbool.h>
#include <stdint.h>
#include "nordic_common.h"
#include "bsp.h"
#include "nrf_soc.h"
#include "nrf_sdh.h"
#include "nrf_sdh_ble.h"
#include "ble_advdata.h"
#include "app_timer.h"
#include "nrf_pwr_mgmt.h"
#include "nrf_csense.h"
#include "nrf_log.h"
#include "nrf_log_ctrl.h"
#include "nrf_log_default_backends.h"
#include "boards.h"
#include "app_error.h"
#include "nrf_drv_clock.h"

#include "nrf_delay.h"

#include "nrf_log_default_backends.h"

I tried to copy as much as i could see from the SDK_config file of the cense example projct, but not a hundred percent sure I got everything needed to be changed..

The error i kee getting is :-

Output/ble_app_beacon_pca10040_s132 Release/Obj/main.o: in function `csense_start':

undefined reference to `nrf_csense_init'

C:\Nordic_Semi\nRF5SDK160098a08e2\examples\ble_peripheral\ble_app_beacon/main.c:358: undefined reference to `nrf_csense_add'

Please can you help  me solve this issue... an urgent help would be appreciated as i need to finish this code by Monday

Thanking you.

Related