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

Printing in Eclipse IDE with GCC

I am using Eclipse IDE with GCC to compile and download to the Nordic DK board. Currently am using Segger RTT viewer to print. However, most of the time it is not able to print everything out. For example, a for loop from 0-31 to print each character in an array, but it is only able to print out certain random array[m] character.

  1. Is there a way to fix it to print out all the elements in an array?

  2. Can I use printf to see the printing in Eclipse IDE instead? If so, how do I do it? I tried printf but nothing is printed out (I think because it runs the jlink debugger, as per the Nordic tutorial on Developement with Eclipse and GCC).

Related