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.
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:
"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
C2000Ware
driver library is installed at C:/ti/C2000Ware_5_04_00_00/driverlib
.--include_path="C:/ti/C2000Ware_5_04_00_00/driverlib"
driverlib.h
is present in the specified directory.I would appreciate guidance on the following:
driverlib.h
?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:iniCopyEdit--include_path="C:/ti/C2000Ware_5_04_00_00/driverlib"
Best,
Ryan Ma