Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Undefined symbol error when adding Simple_timer to uart example in Keil

When I add a PWM or simple timer to a uart example I get the error in Keil.

Simple timer: I added app_simple_timer.c to the library, I added the #include "app_simple_timer.h" and I added the path to the Project Options.

My code is very simple:

I have the same problem with the PWM_Library.

Thanks

Parents
  • I compared the sdk_config (with the wizard) between the example and my project. The app_simple_timer is in the example and checked but not in my project sdk_config.  I believe, I am not adding the library correctly.

Reply
  • I compared the sdk_config (with the wizard) between the example and my project. The app_simple_timer is in the example and checked but not in my project sdk_config.  I believe, I am not adding the library correctly.

Children
No Data