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.

TMS320F28379D: Compilation Error with CCS9, Compiler 21.6.0.LTS

Part Number: TMS320F28379D
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 ****

  • Hi Pravin,

    Looks like you have put the include paths under --preinlcude section instead of --include_path section. Please update accordingly.

    Regards,

    Veena

  • Thanks Veena for your reply.

    I did modifications as per your suggestions, still unsuccessful compilation. Please find log below:


    **** 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_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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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: "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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c"

    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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"

    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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"

    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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"

    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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c", line 837 (col. 47): advice #2615-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"

    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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"

    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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"

    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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.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 --include_path="C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/include" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="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"
    Finished building: "../main.c"

    Building target: "blinky.out"
    Invoking: C2000 Linker
    "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 --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"blinky.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/cmd" -i"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd" -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --diag_wrap=off --display_error_number --xml_link_info="blinky_linkInfo.xml" --entry_point=code_start --rom_model -o "blinky.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./main.obj" "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd" -llibc.a -l"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd" -l"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/cmd/F2837xD_Headers_nonBIOS_cpu1.cmd"
    <Linking>
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 7: error #10263: BEGIN memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 7: error #10264: BEGIN memory range overlaps existing memory range BEGIN
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 8: error #10263: RAMM0 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 8: error #10264: RAMM0 memory range overlaps existing memory range RAMM0
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 9: error #10263: RAMD0 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 9: error #10264: RAMD0 memory range overlaps existing memory range RAMD0
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 10: error #10263: RAMLS0 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 10: error #10264: RAMLS0 memory range overlaps existing memory range RAMLS0
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 11: error #10263: RAMLS1 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 11: error #10264: RAMLS1 memory range overlaps existing memory range RAMLS1
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 12: error #10263: RAMLS2 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 12: error #10264: RAMLS2 memory range overlaps existing memory range RAMLS2
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 13: error #10263: RAMLS3 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 13: error #10264: RAMLS3 memory range overlaps existing memory range RAMLS3
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 14: error #10263: RAMLS4 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 14: error #10264: RAMLS4 memory range overlaps existing memory range RAMLS4
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 15: error #10263: RESET memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 15: error #10264: RESET memory range overlaps existing memory range RESET
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 19: error #10263: BOOT_RSVD memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 19: error #10264: BOOT_RSVD memory range overlaps existing memory range BOOT_RSVD
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 20: error #10263: RAMM1 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 20: error #10264: RAMM1 memory range overlaps existing memory range RAMM1
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 22: error #10263: RAMD1 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 22: error #10264: RAMD1 memory range overlaps existing memory range RAMD1
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 24: error #10263: RAMLS5 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 24: error #10264: RAMLS5 memory range overlaps existing memory range RAMLS5
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 26: error #10263: RAMGS0 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 26: error #10264: RAMGS0 memory range overlaps existing memory range RAMGS0
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 27: error #10263: RAMGS1 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 27: error #10264: RAMGS1 memory range overlaps existing memory range RAMGS1
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 28: error #10263: RAMGS2 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 28: error #10264: RAMGS2 memory range overlaps existing memory range RAMGS2
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 29: error #10263: RAMGS3 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 29: error #10264: RAMGS3 memory range overlaps existing memory range RAMGS3
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 30: error #10263: RAMGS4 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 30: error #10264: RAMGS4 memory range overlaps existing memory range RAMGS4
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 31: error #10263: RAMGS5 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 31: error #10264: RAMGS5 memory range overlaps existing memory range RAMGS5
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 32: error #10263: RAMGS6 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 32: error #10264: RAMGS6 memory range overlaps existing memory range RAMGS6
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 33: error #10263: RAMGS7 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 33: error #10264: RAMGS7 memory range overlaps existing memory range RAMGS7
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 34: error #10263: RAMGS8 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 34: error #10264: RAMGS8 memory range overlaps existing memory range RAMGS8
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 35: error #10263: RAMGS9 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 35: error #10264: RAMGS9 memory range overlaps existing memory range RAMGS9
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 36: error #10263: RAMGS10 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 36: error #10264: RAMGS10 memory range overlaps existing memory range RAMGS10
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 42: error #10263: RAMGS11 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 42: error #10264: RAMGS11 memory range overlaps existing memory range RAMGS11
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 43: error #10263: RAMGS12 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 43: error #10264: RAMGS12 memory range overlaps existing memory range RAMGS12
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 44: error #10263: RAMGS13 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 44: error #10264: RAMGS13 memory range overlaps existing memory range RAMGS13
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 45: error #10263: RAMGS14 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 45: error #10264: RAMGS14 memory range overlaps existing memory range RAMGS14
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 46: error #10263: RAMGS15 memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 46: error #10264: RAMGS15 memory range overlaps existing memory range RAMGS15
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 51: error #10263: CPU2TOCPU1RAM memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 51: error #10264: CPU2TOCPU1RAM memory range overlaps existing memory range CPU2TOCPU1RAM
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 52: error #10263: CPU1TOCPU2RAM memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 52: error #10264: CPU1TOCPU2RAM memory range overlaps existing memory range CPU1TOCPU2RAM
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 54: error #10263: CANA_MSG_RAM memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 54: error #10264: CANA_MSG_RAM memory range overlaps existing memory range CANA_MSG_RAM
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 55: error #10263: CANB_MSG_RAM memory range has already been specified
    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd", line 55: error #10264: CANB_MSG_RAM memory range overlaps existing memory range CANB_MSG_RAM
    warning #10063-D: entry-point symbol other than "_c_int00" specified: "code_start"
    error #10010: errors encountered during linking; "blinky.out" not built

    >> Compilation failure
    makefile:153: recipe for target 'blinky.out' failed
    gmake[1]: *** [blinky.out] Error 1
    makefile:149: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

    My configurations:

  • Hi,

    Looks like you have 2 cmd files with the same content. From your log :

    "C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd" -llibc.a -l"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1.cmd" -l"C:/ti/c2000/C2000Ware_4_00_00_00/device_support/f2837xd/headers/cmd/F2837xD_Headers_nonBIOS_cpu1.cmd"

    Please remove the duplicate one.

    I would recommend you start with an example or an empty example project to avoid such issues.

    Regards,

    Veena

  • From the snapshot, I see you have added cmd in the project as well as in the -l option. You only need to add cmd in one of these places

    Regards,

    Veena

  • Oh yes.... Thank you so much for pointing out. I removed one cmd file and able to compile code successfully.