This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, TI Staff
When I try to use the CLB module with Sysconfig, the compile process is failed with the indication:
**** Build of configuration Debug for project CLB_1 ****
"C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k -j 20 all -O
Building file: "../empty.syscfg"
Invoking: SysConfig
"C:/ti/ccs1250/ccs/utils/sysconfig_1.18.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_5_00_00_00/.metadata/sdk.json" -s "E:/DSP_CODE/CLB_1/.metadata/product.json" -d "F2837xD" --script "E:/DSP_CODE/CLB_1/empty.syscfg" -o "syscfg" --compiler ccs
Running script...
Validating...
info: TILE1(/utilities/clb_tool/clb_syscfg/source/TILE) $name: To utilize the CLB simulation, please see the "Generate CLB Simulation File" description within the Global Parameters in the Tile Design module.
Generating Code (empty.syscfg)...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\board.c...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\board.h...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\board.cmd.genlibs...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\board.opt...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\pinmux.csv...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\clb_config.h...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\clb_config.c...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\clb.dot...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\clb_sim.cpp...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\clb_simulation.bat...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\c2000ware_libraries.cmd.genlibs...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\c2000ware_libraries.opt...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\c2000ware_libraries.c...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\c2000ware_libraries.h...
Writing E:\DSP_CODE\CLB_1\Debug\syscfg\clocktree.h...
Finished building: "../empty.syscfg"
Building file: "syscfg/board.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="E:/DSP_CODE/CLB_1/Platform/Include/Common" --include_path="E:/DSP_CODE/CLB_1/Platform/clb_syscfg" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/utilities/clb_tool/clb_syscfg" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/headers" --include_path="E:/DSP_CODE/CLB_1" --include_path="E:/DSP_CODE/CLB_1/Platform/source" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include" --include_path="E:/DSP_CODE/CLB_1/.metadata" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --preinclude="stdint.h" --preinclude="stdbool.h" --define=CPU1 --define=_LAUNCHXL_F28379D -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="E:/DSP_CODE/CLB_1/Debug/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/board.c"
>> Compilation failure
subdir_rules.mk:33: recipe for target 'syscfg/board.obj' failed
"syscfg/board.c", line 48: error #20: identifier "EALLOW" is undefined
"syscfg/board.c", line 52: error #20: identifier "EDIS" is undefined
2 errors detected in the compilation of "syscfg/board.c".
gmake: *** [syscfg/board.obj] Error 1
Building file: "syscfg/clb_sim.cpp"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="E:/DSP_CODE/CLB_1/Platform/Include/Common" --include_path="E:/DSP_CODE/CLB_1/Platform/clb_syscfg" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/utilities/clb_tool/clb_syscfg" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/headers" --include_path="E:/DSP_CODE/CLB_1" --include_path="E:/DSP_CODE/CLB_1/Platform/source" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include" --include_path="E:/DSP_CODE/CLB_1/.metadata" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --preinclude="stdint.h" --preinclude="stdbool.h" --define=CPU1 --define=_LAUNCHXL_F28379D -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="syscfg/clb_sim.d_raw" --include_path="E:/DSP_CODE/CLB_1/Debug/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/clb_sim.cpp"
Finished building: "syscfg/clb_sim.cpp"
Building file: "syscfg/c2000ware_libraries.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="E:/DSP_CODE/CLB_1/Platform/Include/Common" --include_path="E:/DSP_CODE/CLB_1/Platform/clb_syscfg" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/utilities/clb_tool/clb_syscfg" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/headers" --include_path="E:/DSP_CODE/CLB_1" --include_path="E:/DSP_CODE/CLB_1/Platform/source" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include" --include_path="E:/DSP_CODE/CLB_1/.metadata" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --preinclude="stdint.h" --preinclude="stdbool.h" --define=CPU1 --define=_LAUNCHXL_F28379D -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="E:/DSP_CODE/CLB_1/Debug/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/c2000ware_libraries.c"
Finished building: "syscfg/c2000ware_libraries.c"
Building file: "syscfg/clb_config.c"
Invoking: C2000 Compiler
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="E:/DSP_CODE/CLB_1/Platform/Include/Common" --include_path="E:/DSP_CODE/CLB_1/Platform/clb_syscfg" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/utilities/clb_tool/clb_syscfg" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/headers" --include_path="E:/DSP_CODE/CLB_1" --include_path="E:/DSP_CODE/CLB_1/Platform/source" --include_path="E:/DSP_CODE/CLB_1/Platform/Include/driverlib/inc" --include_path="E:/DSP_CODE/CLB_1/Platform/Include" --include_path="E:/DSP_CODE/CLB_1/.metadata" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --preinclude="stdint.h" --preinclude="stdbool.h" --define=CPU1 --define=_LAUNCHXL_F28379D -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="syscfg/clb_config.d_raw" --include_path="E:/DSP_CODE/CLB_1/Debug/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/clb_config.c"
Finished building: "syscfg/clb_config.c"
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
syscfg/board.c", line 48: error #20: identifier "EALLOW" is undefined
"syscfg/board.c", line 52: error #20: identifier "EDIS" is undefined
Hello,
Did you start by importing an empty project before adding the CLB Tool. EALLOW should be recognized if you've imported a project from C2000Ware to use as your base.
Thank you,
Luke