Part Number: TMS320F28035
Tool/software: Code Composer Studio
I try to move some mathematical function(SPLL and Sine Analyzer) from the main CPU into CLA within TMDSSOLAREXPKIT. I have trouble with linking the correct libraries to his project. When Itry to build project, I get the undefined symbol related to functions: ___meinvf32 and ___meisqrtf32.
Console:
**** Build of configuration F2803x_FLASH for project SolarExplorer_PVInverter_F2803x **** "C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k all Building target: "SolarExplorer_PVInverter.out" Invoking: C2000 Linker "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --advice:performance=all --define=_DEBUG --define=FLASH --define=LARGE_MODEL -g --diag_suppress=16002 --diag_warning=225 --abi=coffabi -z -m"ProjectName.map" --stack_size=0x380 --warn_sections -i"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/lib" -i"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --reread_libs --xml_link_info="SolarExplorer_PVInverter_linkInfo.xml" --rom_model -o "SolarExplorer_PVInverter.out" "./ADC_SOC_Cnf.obj" "./CLA_Tasks.obj" "./DSP2803x_CodeStartBranch.obj" "./DSP2803x_GlobalVariableDefs.obj" "./DSP2803x_usDelay.obj" "./PWM_1ch_UpDwnCntCompl_Cnf.obj" "./SolarExplorer-DPL-ISR.obj" "./SolarExplorer-DevInit_F2803x.obj" "./SolarExplorer-Main.obj" "./Util_DLOG4CHC.obj" "./claTasks.obj" "./src commros/Commros_user.obj" "C:/ti/controlSUITE/libs/dsp/SGEN/v101/lib/C28x_SGEN_Lib_fixed.lib" "C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" "../F28035_FLASH_SolarExplorer.CMD" "C:/ti/controlSUITE/libs/math/IQmath/v160/lib/IQmath.lib" "C:/ti/controlSUITE/libs/app_libs/solar/v1.2/CLA/lib/Solar_Lib_CLA.lib" "../Solar_Lib_IQ.lib" "C:/ti/controlSUITE/libs/math/CLAmath/v4_02_00_00/lib/cla0_math_library.lib" "C:/ti/controlSUITE/libs/math/CLAmath/v4_02_00_00/lib/cla0_math_library_datarom.lib" "C:/ti/controlSUITE/libs/math/CLAmath/v4_02_00_00/lib/cla0_math_library_datarom_fpu32.lib" "C:/ti/controlSUITE/libs/math/CLAmath/v4_02_00_00/lib/cla0_math_library_fpu32.lib" "../commros_28xx_c_regular.lib" -llibc.a -l"C:/ti/controlSUITE/libs/math/CLAmath/v4_02_00_00/lib/cla0_math_library.lib" <Linking> undefined first referenced symbol in file --------- ---------------- ___meinvf32 ./CLA_Tasks.obj ___meisqrtf32 ./CLA_Tasks.obj error: unresolved symbols remain error: errors encountered during linking; "SolarExplorer_PVInverter.out" not built >> Compilation failure makefile:164: recipe for target 'SolarExplorer_PVInverter.out' failed gmake: *** [SolarExplorer_PVInverter.out] Error 1 gmake: Target 'all' not remade because of errors.
I have linked these libraries into my project:
The above functions yield an error in SINEANALYZER_DIFF_wPWR_CLA. Is it the linking problem?