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.
Hello,
After searching this forum and the CCS wiki, I'm still having problems with included header files. Even though the base directory is listed in the "Includes" project folder, the compiler complains that it can't find several header files. Here's one example:
The following line is in a very simple, one-source-file program:
#include <ti/sysbios/BIOS.h>
In addition, the following directory is listed in the "Includes" project directory:
Yet the compiler still outputs: error: could not open source file "ti/sysbios/BIOS.h"
Any ideas would be very appreciated. Thanks!
Could you provide your project? Send me a private message if you do not wish to post it on the publicly.
Hello,
You need to add a config script (*.cfg) to your project in order to use SYS/BIOS or IPC . Add a file - hello.cfg - to your project and add the following to the script:
xdc.useModule('ti.sysbios.BIOS');
xdc.useModule('xdc.runtime.System');
XDCtools will generate the correct include options that will be used while compiling your 'C' file.
I think you are better of starting with the SYS/BIOS templates that shows up in the new project wizard. Take a look at http://rtsc.eclipse.org/docs-tip/RTSC%2BCCStudio_v4_QuickStart for more details.
Regards
Amit
Hello.
I am starting with the Piccolo F28035 and the KIT (DRV830x-HC-C2).
I have imported the project as you recommend but the problem is that CCSv4 doesn't found a lot of headers needed by the *.c files. (limits.h, etc)
I have configured the include search path.
Thank you.