This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART printf

Other Parts Discussed in Thread: CONTROLSUITE

I need help with compiler error.  I tried to add the UARTstdio library to my project, which is based off the example project "Example_2806xCpuTimer", so that i can use the UARTprintf function.  I'm using the F28069 USB dev board with ccs5.

Here's what I did.

1.  Went into project -> properties, add this include directory under c2000 compiler include options:      "${INSTALLROOT_F2806x_V130_TO_MWARE}"

2.  Add this line to top of my Example_2806xCpuTimer.c:    #include "utils/uartstdio.h"

3.  Called printf function:   UARTprintf("hello\r\n");

4.  Compiled, got these two errors:    "errors encountered during linking; "Example_2806xCpuTimer.out" not built"           and         "unresolved symbols remain"

Any idea what I messed up?

Library located here:  C:\ti\controlSUITE\device_support\f2806x\v130\MWare\utils

Thanks,

Jut

  • Hello Jut,

    I have seen this behavior before.  This issue could be that you are using a different revisions of the controlSuite libraries for one part of your project then what you referenced when you linked to the UARTstdio library.  For instance if you imported the example for CpuTimer from the V120 version then linked to a library in the V130 revision, this could cause issues.  Please expand your includes and and check to make sure there are no conflicts like this.  Hope this helps.

    Regards,

    Kelvin