Hello,
I am trying to run this C code which work perfectly fine in visual studio 8.
but when tried to run in CCS 5.3 i get multiple compilation error
eg.
Type #18 expected a ")" cutoff.c /src line 56 C/C++ Problem
the code line is
pitch_freq_log_Q7 = sSMLAWB( pitch_freq_log_Q7, sSMULWB( sLSHIFT( -quality_Q15, 2 ), quality_Q15 ),
pitch_freq_log_Q7 - ( lin2log( sFIX_CONST( VARIABLE_HP_MIN_CUTOFF_HZ, 16 ) ) - ( 16 << 7 ) ) );
here,
sSMLAWB, sLSHIFT, sFIX_CONST, VARIABLE_HP_MIN_CUTOFF_HZ are macros.
lin2log is a function.
i am running this on simulator in CCS for C64xx.
this works f9 in Visual studio then why is this error in CCS ?
am new to CCS, kindly help.
Thanks,
Vinod