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.
I'm using the F28x_Project.h file to include the data types and the peripheral data structures with the build of a project.
It includes F2837x_Cla_typedefs.h and F2837xD_Device.h, and therein lies the conflict.
F2837x_Cla_typedefs.h defines several abbreviations of data types (Int16, Uint16, etc) and F2837xD_Device.h does the same, thus by themselves I get compiler errors because they are redefined in the later.
Both sets of definitions are wrapped by some manifest constants, but they are different from each other, and so the definitions are attempted.
It looks like an easy enough fix, but I don't want to modify the files that come with the controlSUITE. Is there another way to sort out this conflict?
Thanks
Kevin
Hi Kevin,
Thanks for bringing this to our attention. Could you add an include guard for the F28_DATA_TYPES define around the data type definitions in the F2837xD_device.h file similar to the one added to the one for DSP_28_DATA_TYPES. Give this a try and let me know if your project is able to compile.
Regards,
Ozino