I am trying to compile the project dfeUnitK2LTestProject from the K2L eval board thumb drive.
I see that the CSL directory is buried here:
C:\ti\pdk_k2l_4_0_2\packages\ti\csl
But the .c files expect it elsewhere as I get the following errors:
**** Build of configuration K2L_DYNAMIC for project dfeUnitK2LTestProject ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/cslUtils.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv6/tools/compiler/c6000_7.4.16/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.16/include" --include_path="C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils" --define=DEVICE_K2L --define=_TMS320C6X --diag_wrap=off --diag_warning=225 --display_error_number --mem_model:data=far --strip_coff_underscore --preproc_with_compile --preproc_dependency="cslUtils.d" --cmd_file="configPkg/compiler.opt" "C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/cslUtils.c"
>> Compilation failure
subdir_rules.mk:7: recipe for target 'cslUtils.obj' failed
"C:/ti/pdk_k2l_4_0_2/packages/ti/csl/src/ip/serdes_sb/V0/csl_serdes2_iqn.h", line 102: warning #1-D: last line of file ends without a newline
"C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/cslUtils.c", line 66: fatal error #5: could not open source file "ti/csl/device/k2l/src/cslr_device.h"
1 fatal error detected in the compilation of "C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/cslUtils.c".
Compilation terminated.
gmake: *** [cslUtils.obj] Error 1
'Building file: C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/dfess.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv6/tools/compiler/c6000_7.4.16/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.16/include" --include_path="C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils" --define=DEVICE_K2L --define=_TMS320C6X --diag_wrap=off --diag_warning=225 --display_error_number --mem_model:data=far --strip_coff_underscore --preproc_with_compile --preproc_dependency="dfess.d" --cmd_file="configPkg/compiler.opt" "C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/dfess.c"
>> Compilation failure
subdir_rules.mk:31: recipe for target 'dfess.obj' failed
"C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/dfess.c", line 43: fatal error #5: could not open source file "ti2/csl/csl.h"
1 fatal error detected in the compilation of "C:/Kosta/EVMK2L/MCSDK/mcsdk_3_01_01_04.tar/pdk_keystone2_3_01_01_04/packages/ti/drv/dfe/test/utils/dfess.c".
Compilation terminated.
gmake: *** [dfess.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
This is proving exceedingly difficult to get through. It is very unclear which document to use. And the training deals more with hardware than setting up and actually using the software libraries.
Kosta