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.
Hi,
If I follow this instruction to create a new CCS project
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_getting-started.html
I get a different structure than in examples from explorer:
I have a debug folder with syscfg subfolder. In case of examples there are CPU1_RAM folder with device and syscfg subfolder as well as additional device folder that has drivelib.h, device.c, device.h header. If i try to build my project i get this error:
>> Compilation failure
subdir_rules.mk:25: recipe for target 'syscfg/board.obj' failed
"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.
How can I add to my project all necessary files and folders?
thanks vadim
Hi,
How did you create your project? The best way will be to import the empty driverlib project and then rename the project to 'MyPWM'. That way all the input path for compiler and linker is set correctly.
The empty project is located at :
C:/ti/c2000/C2000Ware_4_02_00_00/driverlib/f2837xd/examples/cpu1/empty_projects
Regards, Santosh
Hi Santosh,
I followed the instructions as in the manual:
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_getting-started.html
In some cases I would like to start a project from scratch. But I could not find a link/manual describing the way of doing it.
thanks vadim
Vadim,
Please refer to this link for detailed instruction how to import the empty_project
https://dev.ti.com/tirex/explore/node?node=A__Adlf59dR9TRikXjOlRRRsg__c2000Academy__jEBbtmC__LATEST
Regards, Santosh
Hi Santosh,
I do not have problem importing a project or an example from explorer. I would like to create a project without importing another project.
thanks vadim
Vadim,
Now sure why you want to manually create? But that is the requirement of your project, make sure the include path for compiler and linker as added similar to imported projects.
Regards, Santosh