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

IAR linker Error[Li005] after copying from one example to another

Hello,

I tried copying code from twi_sensor example to ble_app_uart and got this error:

Error[Li005]: no definition for "nrf_drv_twi_init" [referenced from W:\MODIFIED_SDK_13.0.0_04a0bfd\examples\ble_peripheral\flipdot_fw301\pca10040\s132\iar\_build\main.o] 

What's weird in this case is that all the includes necessary for function nrf_drv_twi_init have been added to main.c and if I tried Go To Definition of nrf_drv_twi_init (which seems to be located in nrf_drv_twi.h) I would find it without any problems.

Link to the project: github.com/.../flipdot_fw301

Related