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.

how to include header file in ccs v3



i try to include header file using build option ,but i have trouble , every i attach or add file header always enter to documnet file . 

  • For CCSv3 you don't actually add the header file to your project. You just reference the header file in your source code (i.e. #include) and then make sure that your search path is setup correctly in the project options so that the compiler can find it. The dependency scan in CCS will then list the header file in the project window.

    Newer versions of CCS do let you add header files directly to your project.

    Regards,
    John