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/AM3354: compile issue

Part Number: AM3354

Tool/software: Code Composer Studio

hello expert

I have a question, since I use Linaro compiler to compile baremetal project, and I add dmtimer and mmu and other demo documents

to the same project,but I found,there are so much header documents with the same name,how can I make sure the .c file use the 

right .h file when compile the project?

Best Regards

Zemin

  • Hi Zemin,

    I can't comment on the multiple header files with the same name without more specific details. 

    • Which SDK are you using? Which version? 
    • Which header files have the same name?

    Build one of the SDK examples (dmtimer or other), and check the include directories list to see which header files are included.

    For your own project (CCS or make), ensure the compiler include directory list only includes an entry for the version of the file you intend to include.

    You can test whether this version is being included by temporarily renaming the header file. If the compiler throws an error, then this version is being included.

    Regards,
    Frank