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.

CCS/TM4C123GH6PM: CCS/TM4C123GH6PM

Part Number: TM4C123GH6PM

Tool/software: Code Composer Studio

Hello,

I am sorry to resurrect the issue of adding/linking utils/uartstdio.h files to the CCSV7 project.  I have read several of the emails in Forum, but I have not been able to remove the following error, when i try to duplicate Lab12 (UART) in the workshop.

__error__ ./uartstdio.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "lab12.out" not built

I have been following Lab 2 on TM4C123GXL Workshop notes and have added the TIVAWARE_INSTALL variable. It seems to work fine for all other labs. When I tried to add UARTprintf() function, I get the error. I have tried various possible combinations of adding/copying and even creating a folder utils that contain the UARTstdio.c and uartstdio.h files, but nothing seems to work. I am following TIVAWARE1.1, considering that it is closer to the original workshop files..

The procedures described in the forum seem a bit cryptic and I will greatly appreciate, f someone can provide step by step instructions..

Thanks and Kind Regards

Sudhir Gupta

 

  • Sudhir Gupta said:
    When I tried to add UARTprintf() function, I get the error.

    Were you simply following the steps in the lab workshop or were you trying to modify it even further by adding your own code?

    I suspect the labs were created for older versions of TivaWare and CCS, so there may be some subtle differences/changes required to get them to work with newer versions. Which exact versions of TivaWare and CCS are you using?

    Ultimately the experts in the TM4C device forum would be most knowledgeable about the workshop labs and would be in a position to provide the best answers. However, if you zip up your project folder and attach it here I could take a first look at the build error.

  • Hi Aarti,

    I can build Lab 12 from workshop without any errors and it functions. It is only when I tried to use UARTprintf() function from utils/UARTprintf.h(c) that I can get errors.

    Regards,
    Sudhir
  • Hello Aarti,

    I created a new project and copied the main.c statements to it. I added the files as a link relative to TIVAWARE_INSTALL variable and now it compiles without any error.

    I am still at a loss to identify the cause of the error. Any suggestion, where I can read more on CCS V7?

    Kind Regards,
    Sudhir
  • Sudhir,

    Glad to hear the issue is resolved.

    Sudhir Gupta said:
    Any suggestion, where I can read more on CCS V7?

    There are several resources to learn more about CCS. 

    Link to a fundamentals workshop: TM4C Fundamentals Workshop for CCSv7

    The Resource Explorer (which is available both on the Cloud and inside CCS) has several documents, videos, guides and resources about CCS. Please check it out at http://dev.ti.com/tirex. From there you can drill down into Development Tools->Integrated Development Environments->Code Composer Studio.