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

nRF52 2832 - Error L6218E: Undefined symbol

Hello,

I'm currently trying to build my Keil project. i2c.c file in my project is using nrf_drv_twi driver functions.

So I included nrf_drv_twi.h in the file (or in the include chain) and I referenced the correct path in C/C++ Include Path option.

But I'm still stuck with the following error:

 

linking...
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_disable (referred from i2c.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_enable (referred from i2c.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_init (referred from i2c.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_rx (referred from i2c.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_tx (referred from i2c.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_uninit (referred from i2c.o).

It's incomprehensible, can someone help ?

Parents Reply Children
Related