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/LAUNCHXL-F28069M: gmake: Target 'all' not remade because of errors.

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

I'm using LAUNCHXL-F28069M. I'm using C2000Ware for the example codes. I imported ADC_SOC program and edited it according to my requirements. When I'm building the project, I get the following error.

gmake: Target 'all' not remade because of errors.

This is the Log of the Build Console.


**** Build of configuration Debug for project Example_2806xAdcSoc ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

Building file: "../Example_2806xAdcSoc.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="Example_2806xAdcSoc.d_raw" "../Example_2806xAdcSoc.c"
Finished building: "../Example_2806xAdcSoc.c"

Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_Adc.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_Adc.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_Adc.c"

>> Compilation failure
subdir_rules.mk:16: recipe for target 'F2806x_Adc.obj' failed
"C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_Ad
c.c", line 134: error: struct "AIO_BITS" has no field "AIO0"
GpioCtrlRegs.AIOMUX1.bit.AIO0 = 2;
^

"C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_Ad
c.c", line 139: error: struct "AIO_BITS" has no field "AIO1"
GpioCtrlRegs.AIOMUX1.bit.AIO1 = 2;
^

"C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_Ad
c.c", line 149: error: struct "AIO_BITS" has no field "AIO3"
GpioCtrlRegs.AIOMUX1.bit.AIO3 = 2;
^

3 errors detected in the compilation of "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_Adc.c".
gmake: *** [F2806x_Adc.obj] Error 1
Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_CodeStartBranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_CodeStartBranch.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_CodeStartBranch.asm"
Finished building: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_CodeStartBranch.asm"

Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_DefaultIsr.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_DefaultIsr.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_DefaultIsr.c"
Finished building: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_DefaultIsr.c"

Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/source/F2806x_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_GlobalVariableDefs.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/source/F2806x_GlobalVariableDefs.c"
Finished building: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/source/F2806x_GlobalVariableDefs.c"

Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_PieCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_PieCtrl.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_PieCtrl.c"
Finished building: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_PieCtrl.c"

Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_PieVect.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_PieVect.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_PieVect.c"
Finished building: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_PieVect.c"

Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_SysCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_SysCtrl.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_SysCtrl.c"
Finished building: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_SysCtrl.c"

Building file: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_usDelay.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --preproc_with_compile --preproc_dependency="F2806x_usDelay.d_raw" "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_usDelay.asm"
Finished building: "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_usDelay.asm"

gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Nikhil Sarode said:
    subdir_rules.mk:16: recipe for target 'F2806x_Adc.obj' failed
    "C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/source/F2806x_Ad
    c.c", line 134: error: struct "AIO_BITS" has no field "AIO0"
    GpioCtrlRegs.AIOMUX1.bit.AIO0 = 2;

    From a compiler's standpoint, the reason for the error is exactly as stated in the message: the structure AIO_BITS does not have the fields AIO0, AIO1 and AIO3. You can see the definition of AIO_BITS in F2806x_Gpio.h where you will notice that only AIO2, AIO4, etc bit-fields are declared.

    To understand why those bit-fields cannot be configured please check the datasheet for the device. The related thread here (although for a different F28x device) provides a general explanation which you can correlate with the datasheet specifically for your device. If you have further questions on the pin muxing capabilities I would suggest starting a new post in the C2000 device forum.