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.

TMS320F28377D-EP: device.h file with sysconfig

Part Number: TMS320F28377D-EP
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hi all,

I have started implemented a project using an example with sysconfig. I have noticed that the auto-created file board.h, needs a "device.h". This "device.h" should be populated by me. I wonder what is the purpose of this? Can't I use a custom file with a different name for device initialization? Is there a reason behind this that I cannot find?

Thanks!

  • Hi,

    SysConfig is using DriverLib API and the device registers declared in device.h

    The device.h is copied from C2000Ware device_support folder to your project under device folder.

    C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2837xd/common/include/device.h

    Any customization you are planning, you can do it in separate file and then call your initialization function after board_init() in main.c

    Regards, Santosh