Hi everyone,
I am trying to use the function DSP_mat_mul_cplx from the DSPLib but I found some problems in the way. I am using CC6657. I get the following error
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.6/bin/cl6x" -mv6600 --abi=eabi -g --display_error_number --diag_warning=225 -z -m"DSPLibrary_test.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.6/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.6/include" --reread_libs --warn_sections --rom_model -o "DSPLibrary_test.out" -l"./configPkg/linker.cmd" "./edma_isr.obj" -l"libc.a"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
DSP_mat_mul_cplx ./edma_isr.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "DSPLibrary_test.out" not
built
>> Compilation failure
I am including the library in the compilation of the file (#include <ti/dsplib/dsplib.h>). If I look at the prototype in the header file DSP_mat_mul_cplx.h of this function I see that:
#if defined(_TMS320C6600)
#include <ti/dsplib/src/DSP_mat_mul_cplx/c66/DSP_mat_mul_cplx.h>
#elif defined (_TMS320C6400_PLUS)
#include <ti/dsplib/src/DSP_mat_mul_cplx/c64P/DSP_mat_mul_cplx.h>
#else
#error invalid target
#endif
So it seems that, unless defined(_TMS320C6600) is true I cannot use this function. How can I make true this variable? Any idea?
Thanks