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

What is causing the error "Undefined symbol app_error_handler"?

I'm using nRF51822 to communicate with nRF24L01+ without SoftDevice, and it is working fine.

But when I add app_timer.c to the project and compile, it will show the following error:

._build\radio_tx_example_arm.axf: Error: L6218E: Undefined symbol app_error_handler (referred from app_timer.o).

I have added #include "app_error.h" and #include "nrf_error.h", and the include path is included.

I'm working with the radio_example found in nrf51822\Board\nrf6310\radio_example.

Does anyone know what is causing the error?

Related