Other Parts Discussed in Thread: C2000WARE
Dear Team,
I am using CCS Version: 9.2.0.00013 with compiler TI v21.6.0.LTS to compile the simple GPIO blinking code. But facing following errors while unsuccessful compilation.
When I compile blinky example from C2000ware, it compiles successfully, but not able to understand what I am missing while creating my own project.
Please help. Below is the compilation log generated when compiling self created project.
**** Build of configuration Debug for project blinky ****
"C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2837xD_DefaultISR.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c".
Compilation terminated.
gmake: *** [F2837xD_DefaultISR.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
>> Compilation failure
subdir_rules.mk:23: recipe for target 'F2837xD_GlobalVariableDefs.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c".
Compilation terminated.
gmake: *** [F2837xD_GlobalVariableDefs.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
>> Compilation failure
subdir_rules.mk:30: recipe for target 'F2837xD_Gpio.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c".
Compilation terminated.
gmake: *** [F2837xD_Gpio.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_Ipc.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c"
>> Compilation failure
subdir_rules.mk:37: recipe for target 'F2837xD_Ipc.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c".
Compilation terminated.
gmake: *** [F2837xD_Ipc.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
>> Compilation failure
subdir_rules.mk:44: recipe for target 'F2837xD_PieCtrl.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c".
Compilation terminated.
gmake: *** [F2837xD_PieCtrl.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
>> Compilation failure
subdir_rules.mk:51: recipe for target 'F2837xD_PieVect.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c".
Compilation terminated.
gmake: *** [F2837xD_PieVect.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
>> Compilation failure
subdir_rules.mk:58: recipe for target 'F2837xD_SysCtrl.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c".
Compilation terminated.
gmake: *** [F2837xD_SysCtrl.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Building file: "../main.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
>> Compilation failure
subdir_rules.mk:72: recipe for target 'main.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --preinclude="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --preinclude="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
2 Assembly Errors, 1 Assembly Warning
>> Compilation failure
subdir_rules.mk:65: recipe for target 'F2837xD_usDelay.obj' failed
Command-line error #1966: cannot open source file "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include": Invalid argument
Compilation terminated.
"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm", WARNING! at line 80: [E1000] error while processing C code in .cdecls directive
.cdecls LIST ;;Used to populate __TI_COMPILER_VERSION__ macro
"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm", ERROR! at line 84: [E0004] Absolute, well-defined integer value expected
.if __TI_COMPILER_VERSION__
"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm", ERROR! at EOF: [E0300] The following symbols are undefined:
__TI_COMPILER_VERSION__
Errors in Source - Assembler Aborted
gmake: *** [F2837xD_usDelay.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****