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.

TMS320F2800135: SysConfig Integration - Compilation Error: Cannot Open Source File "driverlib.h

Part Number: TMS320F2800135
Other Parts Discussed in Thread: SYSCONFIG, TMS320F280049, C2000WARE

Tool/software:

Subject: Issue with SysConfig Integration - Compilation Error: Cannot Open Source File "driverlib.h"

Hello,

I am working on integrating SysConfig into an existing project for the TMS320F280049 using Code Composer Studio (CCS) version 12.7.0, following the guidelines provided in this forum post.

After making the recommended settings, I am able to access the "Software" and "Clock Tree" options in SysConfig. However, when attempting to build the project, I encounter the following error:

vbnet
CopyEdit
"syscfg\board.h", line 52: fatal error #1965: cannot open source file "driverlib.h" 1 catastrophic error detected in the compilation of "syscfg/board.c". Compilation terminated. gmake: *** [syscfg/board.obj] Error 1

Steps Taken:

  1. Verified that the C2000Ware driver library is installed at C:/ti/C2000Ware_5_04_00_00/driverlib.
  2. Confirmed that the include path is correctly specified in the project properties:
    ini
    CopyEdit
    --include_path="C:/ti/C2000Ware_5_04_00_00/driverlib"
  3. Checked and ensured that driverlib.h is present in the specified directory.
  4. Attempted a clean and rebuild of the project, but the error persists.

Request for Assistance:

I would appreciate guidance on the following:

  • Is there an additional configuration required for the SysConfig-generated files to correctly locate driverlib.h?
  • Should any other dependencies or settings be adjusted to resolve this issue?
  • Are there known compatibility issues between the versions of CCS, SysConfig, and C2000Ware being used?

Any insights or solutions would be greatly appreciated, as this issue is currently blocking further development.

Thank you for your support.

Best regards,
Devesh Chetiwal

  • Hello Devesh,

       When downloading and installing driver lib via CCS REX, a popup dialog asks the question "Do you want to import the library into CCS." If you ignored cancel on that question, you won't see the new library in the project tree. You can try to rebuild the index after first update index with new files. If that fails to help try to import into the SysConfig project virtual links to driver lib includes folder and files. 

  • Hi Devesh,

    Another item to make sure to have is the correct include path. I noticed in your second step it is only pointing to the high level driverlib/ folder. Please ensure that you go to the specific device's driverlib.

    Confirmed that the include path is correctly specified in the project properties:
    ini
    CopyEdit
    --include_path="C:/ti/C2000Ware_5_04_00_00/driverlib"

    Best,

    Ryan Ma