This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debug with real time terminal tutorial linking errors

Trying to follow this tutorial using KEIL 5.23, J-Link 6.14b and the DK.

I am getting linking errors like this when compiling:

image description

What did I do wrong and how can I fix it?

  • Looks like you've included "SEGGER_RTT.c" twice. Try removing one of them and see if it builds.

  • Figured out the problem. I am using the latest version of the SDK, Keil and Jlink. Apparently the tutorial is geared toward an earlier version of the SDK. The one I am using already had the correct files included in the project so the step that ask you to create a new group and add the files is redundant and results in these linking errors. I just removed that RTT group and the files that the tutorial told me to add and all is well!

Related