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/CC3200-LAUNCHXL: CCS does not link correctly

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200SDK

Tool/software: Code Composer Studio

Hello, 

I am trying to build and load UART-Demo from CC3200SDK_1.3.0 in desktop Code Composer Studio Version: 9.0.1.00004

I have done settings for compiler and linker. Compiler does it job but linker gives some errors regarding Undefined Symbols. 

I attach a picture of error here. 

For example ClearTerm function is declared in uart_if.h and defined in uart_if.c. The path to these files are added at Build -> ARM Linker -> File Search Path. uart_if.h is also added to the main file. 

Now I am wondering why linker gives errors. 

Thank you, 

  • Hello,

    Hassan Salmani said:
    For example ClearTerm function is declared in uart_if.h and defined in uart_if.c. The path to these files are added at Build -> ARM Linker -> File Search Path. uart_if.h is also added to the main file. 

    You need to explicitly add "uart_if.c" to your project. It is not enough to simply have the path to it in the search path. Having it show up in the "Includes" virtual folder in the Project Explorer does not mean that it is actually part of the project. Please explicitly add it to the project so that it appears at the same level as main.c. 

    I imported the same project and this is what it looks like in the Project Explorer

    Thanks

    ki

  • How did you import the example project? It looks like you are working with a modified version of the project. Your project is not including driverlib.a also. 

    The project you want to import is in: C:\ti\CC3200SDK_1.3.0\cc3200-sdk\example\uart_demo\ccs

    Thanks

    ki