Part Number: TMS320F280049C
Tool/software: TI C/C++ Compiler
I am migrating some code from a CPU application to use the CLA. All of the code compiles and runs in the CPU. When I try to compile and build the application with some of the code moved to CLA, I get the following error. I have modeled the code after the C2000Ware example (device_support/f28004x/cla/cla_ex1_background_task).
"C:\ti\c2000\C2000Ware_2_00_00_02\device_support\f28004x\common\include\f28004x_cla_typedefs.h", line 84: fatal error #35: #error directive:
f28004x_Cla_Typedefs.h must be included before f28004x_Device.h or any other header file that redefines data types using the guard macros F28_DATA_TYPES or DSP28_DATA_TYPES
This error message is in the header file "f28004x_cla_typedefs.h". I read that the compiler turns on the define "__TMS320X28XX_CLA__" when compiling a *.cla file.
I'm missing something about developing code for the CLA.
Please advise.
Steve Haddad
Ametek Aerospace