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:
It is difficult to migrate CLB to existing projects through syscfg, such as missing. h files. Is there a better way?For example, copying only CLB related code?
Hello,
Which two device families are you migrating between specifically?
Best Regards,
Delaney
Both are 28P650, but CLB is generated from an empty project using SYSCFG, which is inconsistent with many configuration files of existing projects
Hello,
You should be able to copy over the contents of the Sysconfig file with the CLB configurations into the Sysconfig file of your new project, then it will autogenerate all the files needed. Is your new project coming from an example in C2000ware/does it already have a Sysconfig file?
Best Regards,
Delaney
Hello,
Can you show the contents of your "Includes" folder? It should contain the path to the /driverlib folder in C2000ware which contains all of those source files (adc.h, aes.h, asysctl.h etc.). For example, it should look something like this:
These include paths will only be pulled in for driverlib projects, is your new project a bitfield project?
Best Regards,
Delaney
Hello,
Can you show the contents of your "Includes" folder? It should contain the path to the /driverlib folder in C2000ware which contains all of those source files (adc.h, aes.h, asysctl.h etc.). For example, it should look something like this:
These include paths will only be pulled in for driverlib projects, is your new project a bitfield project?
Best Regards,
Delaney
Hello,
Where did you originally import this project from? Is it from a C2000ware example or one of the Motor Control/Digital Power SDK solutions?
Best Regards,
Delaney
Hello,
Can you try adding the driverlib/ folder path into your CCS project properties (right click on your project, select Properties >> Resource >> Linked Resources) so the compiler knows where to locate the header files included by the Sysconfig generated code (adc.h, aes.h etc.):
You will need to add a C2000WARE_DLIB_ROOT variable as it is shown here and a COM_TI_C2000WARE_INSTALL_DIR variable as well with the local path to your C2000ware install.
Best Regards,
Delaney