Hello, I am using nrf52840 PDK, sdk 13.0.0 for my college project. I am trying to rewrite this nrf mpu example, in order to read data from MPU9255 and observe the data in a serial port monitoring tool on PC. Thus, I start my development with the peripheral/uart example. However I got the error message:
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_enable (referred from nrf_drv_mpu_twi.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_init (referred from nrf_drv_mpu_twi.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_rx (referred from nrf_drv_mpu_twi.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_tx (referred from nrf_drv_mpu_twi.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_drv_twi_xfer (referred from nrf_drv_mpu_twi.o).
I believe this is caused by nrf_drv_twi.c was not linked properly. I looked through similar questions on this website. However, I've added include paths, and I've modified the sdk_config.h and enabled twi relevant options. I understand this could be a stupid question but I think I need some help or hints.
Here is my code.
Thanks in advance.