hi
I have written a driver for an SPI sensor, and it works perfect in a nrfx_spim example project.
But when I tried to add this driver to a ble custom project, errors(Undefined symbol nrfx_spim_init, Undefined symbol nrfx_spim_xfer) appear.
"linking..."
''.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_spim_init (referred from iim42351.o)."...
Blow are my settings. I add nrfx_spim.c to nRF_Drivers group, Enable "NRFX_SPIM_ENABLED" ,"NRFX_SPIM3_ENABLED", and make sure the header file path is included.
but still the nrfx_spim.c cannot be compiled correctly(I looked into the "listening" result of translation of nrfx_spim.c and found it ended before intering nrfx_spim.h).
Anyting other I missed?
Thanks.
I tried