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.

TM4C129XNCZAD: #1965 Cannot Open Source FIle "uartstdio.h"

Part Number: TM4C129XNCZAD
Other Parts Discussed in Thread: EK-TM4C1294XL

Hi,

I am using SPPLEDEMO in my project, I want to send and receive some string using SPI communication or else I want to print some string using SPI communication, can you please tell me how to implement the SPI in SPPLEDEMO. 

Thanks 

  • Hi,

    And I have implement some code but I am getting some error as  Cannot open source file "uartstdio.h" . Please help me on this one also, how to solve the error.

    Thanks.

  • Hi,

      Why don't use import the hello example from C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\hello. This example uses uartstdio.h. 

      You need to have #include "utils/uartstdio.h" in your project. See hello example. 

      You also need to have uartstdio.c either linked to your project or copied to your project. The hello example links the file. See below. 

  • Hi,

    I am using now "utils/uartstdio.h" , after implementing this file I am getting some error again. Please help me on this. I will attach the image in below attachment. Thanks and I am waiting for your quick response.

  • Hi,

      I already suggested you start your development based on the hello. If you have the hello imported and be successful to compile it and run it then you can add additional files to it. This is the best way to avoid any build settings issues and compilation issues. Why don't use try that?

      From your error, it still means that you did not have uartstdio.c copied to your project directory as I mentioned in the previous reply. Why don't you copy the uartstdio.c file from C:\ti\TivaWare_C_Series-2.2.0.295\utils to your project folder. If you use the hello example, it is using a link. Either way will work. It is up to you. 

  • Thanks for the reply..

  • Hello Charles,

    Now I am using hello program only, If I Implement some custom logic in that code means, I am getting an error as "UNRESOLVED SYMBOL REMAIN and 
    #10010 errors encountered during linking; "SPPLEDemo.out" not built. Can you please tell me Charles, how to solve this error.

    THANKS

  • Hi,

      You must have some files related to your SPPLEDemo code not compiled in your project or the library for SPPLEDemo not specified in your linker search path. It is just like the uartstdio.c that you didn't copy to your project directory initially that results in unresolved symbol. If SPPLEDemo is a library, then make sure the library is in your linker searchpath. 

      Again, please as I mentioned in the other thread, for questions specific to SPPLEDemo you need to open a new thread specifying CC256x as the part number so the experts who know about SPPLEDemo can help. I really don't have any knowledge on SPPLEDemo.