Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I am trying to make a V-f motor control scheme in Simulink (R2017b ) embedded coder with CCS Version: 7.4.0 toolchain . The build process in simulink was returning these errors :
cla_task.cla", line 76: error: identifier "V_F_control_CLA_P" is undefined
"cla_task.cla", line 76: error: identifier "V_F_control_CLA_DWork" is undefined
So I import the project in CCS and open cla_task.cla file. The above mentioned objects are defined in V_F_control_CLA.h file and it is missing in cla_task.cla. I add the include to the file and rebuild the project:
Now the number of errors increase , one due to the below definition in string.h and other long long definitions in "math.h" is nonstandard.
#if defined(__TMS320C28XX_CLA__)
#error "Header file <string.h> not supported by CLA compiler"
#endif
As these are standard libraries, I am not sure how to make any modifications to these libraries . Does anyone know any work around to get the code running without affecting the functionality?
Thanks in advance!!