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

Linker issue in SDK15.2

I am following this tutorial:

https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial?CommentId=43347679-22d9-4d45-ad73-4632d06c5e3e

But when I compile I ran into this issue where

1> Linking app_timer_tutorial_pca10056.elf
1> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.16/gcc/arm-none-eabi/bin/ld: Output/app_timer_tutorial_pca10056 Release/Obj/main.o: in function `main':
1> D:\Current Work\BLE\nRF5_SDK_15.2.0_9412b96\examples\peripheral\nrf5-application-timer-tutorial/main.c:150: undefined reference to `app_timer_init'
Build failed

It appears to be a linker issue. I have done the necessary includes and the changes to the sdk_config.h file but this error still pops up.

Parents Reply Children
No Data
Related