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:
Hi,
I need help to include "f28x_project.h" correctly.
If I import a sample project that contains a syscfg (here I imported spi_ex4_external_loopback_fifo_interrupt.c) I unfortunately cannot use #include "f28x_project.h".
This then gives the following error:
So I imported C:\ti\c2000\C2000Ware_5_02_00_00\device_support\f28p65x\headers\include. Now the following errors occur:
If I only #include "f28x_project.h" and comment out the others, no error message appears. So I only get this if I try to include all four.
Does anyone know how to do this?
Hi,
Can you follow this walk through on how to enable bitfield in a driverlib based project.
Best,
Ryan Ma
Hi,
I followed the steps outlined in the FAQ. I noticed one additional step that is needed. You will need to add this pre defined symbol _DUAL_HEADERS. There was conflict between adc defined variables between driverlib and the device support files.
Below is my include options:
Below is a screenshot of my project settings
includes order:
Build output is good now.
Best,
Ryan Ma
You're welcome!
I will go ahead and close this thread now.
Best,
Ryan Ma