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.

TMS320F28377S: #1965: cannot open source file "board.h"

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Tool/software:

I am studying the SD card program using the sd_fat32 example source.
First, I am testing sd_fat32_file_creates.c in the C:\ti\c2000\C2000Ware_5_00_00_00\libraries\fatfs\tests\sd_fat32_file_creates folder, but when I build it, the following error occurs.
fatal error #1965: cannot open source file "board.h"
I am trying to include the board.h file in the project, but I can't find it anywhere. Please help me solve this problem.
I am using c2000Ware_5_00_00_00.

  • Hi,

    board.h and a few other files are generated by SysConfig. The tests in the directory you are referring to contain just the source code, not the entire project required to build and run the test.

    To build this test project, first you can create an example project for F2837XS in the same format as the one at C2000Ware\driverlib\f2838x\examples\c28x\sdspi\sd_fat32. Then you can replace the main.c file with the test.c file you want to run and also replace the ffconf.h file. Post these changes, you should be able to build and debug your project correctly.

    Regards,

    Arnav