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.

CCS/TMS320F280025: Why 280025's project cann't compile in C2000Wre v3.02?

Part Number: TMS320F280025
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

I download C2000ware v3.02 from TI ,and compile 280025 project with CCS v10.1,but there are  some wrong like this :error #66 :expected for a ";" and error #7: unrecognized token. Why I cann't compile ? I wish your answer!

Thanks!

  • Can you pls help with little more details on the exact project that you are trying to compile ?

  • Hi, this project is can_ex3_loopback_dma.prj in the  folder of c2000\C2000Ware_3_02_00_00\driverlib\f28002x\examples\can.

  • Hi Jammy,

    The project compiles without any issue. I tried to compile with CCS v10 and v2.20.0.LTS.

    Can you share the entire compile log where you are seeing the compilation failure?

    Best Regards

    Siddharth

  • Compilaton log updated in  the sufix file.Pls  see the file.

    **** Build of configuration CPU1_FLASH for project can_ex3_loopback_dma ****
    
    "C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../can_ex3_loopback_dma.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma" --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma/device" --include_path="C:/ti/c2000/C2000Ware_3_02_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="can_ex3_loopback_dma.d_raw"  "../can_ex3_loopback_dma.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'can_ex3_loopback_dma.obj' failed
    "../can_ex3_loopback_dma.c", line 1: warning #1-D: last line of file ends without a newline
    "../can_ex3_loopback_dma.c", line 1: warning #78-D: this declaration has no storage class or type specifier
    "../can_ex3_loopback_dma.c", line 1: error #66: expected a ";"
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #19: extra text after expected end of number
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #19: extra text after expected end of number
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #19: extra text after expected end of number
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    95 errors detected in the compilation of "../can_ex3_loopback_dma.c".
    gmake: *** [can_ex3_loopback_dma.obj] Error 1
    Building file: "../device/device.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma" --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma/device" --include_path="C:/ti/c2000/C2000Ware_3_02_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --obj_directory="device"  "../device/device.c"
     
    >> Compilation failure
    device/subdir_rules.mk:9: recipe for target 'device/device.obj' failed
    "../device/device.c", line 1: warning #78-D: this declaration has no storage class or type specifier
    "../device/device.c", line 1: error #66: expected a ";"
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #19: extra text after expected end of number
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #19: extra text after expected end of number
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    Error limit reached.
    100 errors detected in the compilation of "../device/device.c".
    Compilation terminated.
    gmake: *** [device/device.obj] Error 1
    Building file: "../device/f28002x_codestartbranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma" --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma/device" --include_path="C:/ti/c2000/C2000Ware_3_02_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/f28002x_codestartbranch.d_raw" --obj_directory="device"  "../device/f28002x_codestartbranch.asm"
    Finished building: "../device/f28002x_codestartbranch.asm"
     
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • Hi Jammy,

    Did you by any chance update any of the header files?

    Looking at the error ""#" not expected here", I feel you might have accidentally updated the header in one of the files. Usually all the files starts with the line 

    //#############################################################################

    Can you check if this is not updated?

    Regards,

    Veena

  • Hi Veena,

    Just now I uninstall the C2000Ware_3_02,then reinstall C2000Ware_3_02,and then  recompile the project can_ex3_loopback_dma.prj in the  folder of c2000\C2000Ware_3_02_00_00\driverlib\f28002x\examples\can.But there is the the same wrong.I didn't changed any file.Why ?I don't how to do about 280025 .

  • Hi Jammy,

    It could be a header in the CCS compiler as well. Can you use a different compiler version? Or reinstall the compiler?

    If you click on the error in the Problems tab, which file does it lead to?

    Regards,

    Veena

  • Hi Veena,

    Pls see the updated file. All the 280025's project has the same issues in the C2000Ware_3_02.But  the 280049's project don't have the issue. The compilation of 280049's project is passing.I try to compile 280025' project by CSS v9.03,there are the same wrong.

    **** Build of configuration CPU1_FLASH for project can_ex3_loopback_dma ****
    
    "C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../can_ex3_loopback_dma.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma" --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma/device" --include_path="C:/ti/c2000/C2000Ware_3_02_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="can_ex3_loopback_dma.d_raw"  "../can_ex3_loopback_dma.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'can_ex3_loopback_dma.obj' failed
    "../can_ex3_loopback_dma.c", line 1: warning #1-D: last line of file ends without a newline
    "../can_ex3_loopback_dma.c", line 1: warning #78-D: this declaration has no storage class or type specifier
    "../can_ex3_loopback_dma.c", line 1: error #66: expected a ";"
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #19: extra text after expected end of number
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #19: extra text after expected end of number
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: error #25: quoted string should contain at least one character
    "../can_ex3_loopback_dma.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #19: extra text after expected end of number
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    "../can_ex3_loopback_dma.c", line 1: error #7: unrecognized token
    95 errors detected in the compilation of "../can_ex3_loopback_dma.c".
    gmake: *** [can_ex3_loopback_dma.obj] Error 1
    Building file: "../device/device.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma" --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma/device" --include_path="C:/ti/c2000/C2000Ware_3_02_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --obj_directory="device"  "../device/device.c"
     
    >> Compilation failure
    device/subdir_rules.mk:9: recipe for target 'device/device.obj' failed
    "../device/device.c", line 1: warning #78-D: this declaration has no storage class or type specifier
    "../device/device.c", line 1: error #66: expected a ";"
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #19: extra text after expected end of number
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: warning #1268-D: null (zero) character in input line ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #19: extra text after expected end of number
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: error #25: quoted string should contain at least one character
    "../device/device.c", line 1: warning #1923-D: too many characters in character literal -- extra leading characters ignored
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #10: "#" not expected here
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    "../device/device.c", line 1: error #7: unrecognized token
    Error limit reached.
    100 errors detected in the compilation of "../device/device.c".
    Compilation terminated.
    gmake: *** [device/device.obj] Error 1
    Building file: "../device/f28002x_codestartbranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma" --include_path="C:/Users/fengjm/workspace_v10/can_ex3_loopback_dma/device" --include_path="C:/ti/c2000/C2000Ware_3_02_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --advice:performance=all --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/f28002x_codestartbranch.d_raw" --obj_directory="device"  "../device/f28002x_codestartbranch.asm"
    Finished building: "../device/f28002x_codestartbranch.asm"
     
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • Hi Jammy,

    I am unable to recreate the issue. I am using CCS10.1 and compiler v20.2.1. I tried CCS9.1 as well. The example builds fine.

    Are you using a Windows machine or a Linux machine?

    Can you zip and attach the CCS project?

    Regards,

    Veena

  • Hi Veena,

    I use windows .I change computer,and install CCS and C2000Ware,The compilation is passing.

    This resolved issue.