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/TM4C1294NCPDT: CCS/TM4C1294NCPDT

Part Number: TM4C1294NCPDT


Tool/software: Code Composer Studio

I am using CCS v7.  Couple of days back I installed the CCS V9 .  I imported a project from ccs V7 to V9.  But when I tried to compile it displays "Description Resource Path Location Type Product tm4c v2.1.4.178 is not currently installed and no compatible version is available. Please install this product or a compatible version. "  However it is installed and examples downloaded are working.  Then I right clicked the project--> Properties--> general-->product and unchecked  unknown-Tm4c v2.1.4.178 ( since in examples it is not seen in working example).  Then when compiled it displays errors like "Description Resource Path Location Type
#1965 cannot open source file "inc/hw_memmap.h" psrecvmsgq.c /wlrv06a line 11 C/C++ Problem"

Could you help how to resolve this.

Regards,

Ramesh

  • Ramesh Muruganantham said:
    Then when compiled it displays errors like "Description Resource Path Location Type
    #1965 cannot open source file "inc/hw_memmap.h" psrecvmsgq.c /wlrv06a line 11 C/C++ Problem"

    Make sure that the project's compiler include path option (under Project->Properties->Build->Compiler->Include Options) contains a path to the root of your TivaWare folder. 

    For example, it would look something like this:

    In this example, SW_ROOT is a variable that points to the root TivaWare directory. 

    The path there can either be an absolute path or a variable that resolves to the appropriate path.

  • I have already set the tivaware library in include path.  Attaching the screenshot.

    Regards,

    Ramesh

  • Please do a Rebuild Project, then save the full build output in the CCS build console to a text file (as described here) and attach it here.

  • Not able attach the text file.  Copying and pasting.


    **** Build of configuration Debug for project wlrv06a ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k all

    Building file: "../calib.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="calib.d_raw" "../calib.c"
    "../calib.c", line 209: warning #552-D: variable "calibsel" was set but never used
    "../calib.c", line 210: warning #552-D: variable "calibvalInt" was set but never used
    Finished building: "../calib.c"

    Building file: "../chksum.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="chksum.d_raw" "../chksum.c"
    "../chksum.c", line 38: warning #552-D: variable "TempVal" was set but never used
    Finished building: "../chksum.c"

    Building file: "../comm.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="comm.d_raw" "../comm.c"
    "../comm.c", line 62: warning #994-D: missing return statement at end of non-void function "XmitMessage"
    "../comm.c", line 76: warning #994-D: missing return statement at end of non-void function "XmitMessageB"
    Finished building: "../comm.c"

    Building file: "../dacpwm.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="dacpwm.d_raw" "../dacpwm.c"
    Finished building: "../dacpwm.c"

    Building file: "../lcd.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="lcd.d_raw" "../lcd.c"
    "../lcd.c", line 63: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../lcd.c", line 178: warning #994-D: missing return statement at end of non-void function "LCDWriteStrlive"
    "../lcd.c", line 168: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
    "../lcd.c", line 182: warning #179-D: variable "chr" was declared but never referenced
    "../lcd.c", line 388: warning #9-D: nested comment is not allowed
    "../lcd.c", line 464: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    Finished building: "../lcd.c"

    Building file: "../msgpacking.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="msgpacking.d_raw" "../msgpacking.c"
    "../msgpacking.c", line 86: warning #552-D: variable "floatx" was set but never used
    "../msgpacking.c", line 88: warning #552-D: variable "ascvalt" was set but never used
    "../msgpacking.c", line 136: warning #179-D: variable "TempVal" was declared but never referenced
    "../msgpacking.c", line 137: warning #179-D: variable "TempValinC" was declared but never referenced
    "../msgpacking.c", line 138: warning #179-D: variable "StatusTemp1" was declared but never referenced
    "../msgpacking.c", line 139: warning #179-D: variable "StatusTemp2" was declared but never referenced
    "../msgpacking.c", line 203: warning #994-D: missing return statement at end of non-void function "XmitMsg"
    "../msgpacking.c", line 398: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../msgpacking.c", line 377 (col. 20): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../msgpacking.c", line 379 (col. 12): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../msgpacking.c", line 386 (col. 19): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    Finished building: "../msgpacking.c"

    Building file: "../nvram.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="nvram.d_raw" "../nvram.c"
    "../nvram.c", line 51: warning #225-D: function "EEPROMInit" declared implicitly
    "../nvram.c", line 69: warning #225-D: function "EEPROMSizeGet" declared implicitly
    "../nvram.c", line 72: warning #225-D: function "EEPROMBlockCountGet" declared implicitly
    "../nvram.c", line 79: warning #225-D: function "EEPROMProgram" declared implicitly
    "../nvram.c", line 84: warning #225-D: function "EEPROMRead" declared implicitly
    "../nvram.c", line 93: warning #225-D: function "EEPROMSizeGet" declared implicitly
    "../nvram.c", line 95: warning #225-D: function "EEPROMBlockCountGet" declared implicitly
    "../nvram.c", line 101: warning #225-D: function "EEPROMProgram" declared implicitly
    "../nvram.c", line 92: warning #552-D: variable "e2size" was set but never used
    "../nvram.c", line 92: warning #552-D: variable "e2block" was set but never used
    "../nvram.c", line 106: warning #225-D: function "EEPROMRead" declared implicitly
    "../nvram.c", line 131: warning #225-D: function "EEPROMSizeGet" declared implicitly
    "../nvram.c", line 133: warning #225-D: function "EEPROMBlockCountGet" declared implicitly
    "../nvram.c", line 139: warning #225-D: function "EEPROMProgram" declared implicitly
    "../nvram.c", line 130: warning #552-D: variable "e2size" was set but never used
    "../nvram.c", line 130: warning #552-D: variable "e2block" was set but never used
    "../nvram.c", line 144: warning #225-D: function "EEPROMRead" declared implicitly
    "../nvram.c", line 151: warning #225-D: function "EEPROMRead" declared implicitly
    "../nvram.c", line 162: warning #225-D: function "EEPROMSizeGet" declared implicitly
    "../nvram.c", line 164: warning #225-D: function "EEPROMBlockCountGet" declared implicitly
    "../nvram.c", line 166: warning #225-D: function "EEPROMProgram" declared implicitly
    "../nvram.c", line 159: warning #552-D: variable "e2size" was set but never used
    "../nvram.c", line 159: warning #552-D: variable "e2block" was set but never used
    "../nvram.c", line 171: warning #225-D: function "EEPROMRead" declared implicitly
    "../nvram.c", line 180: warning #225-D: function "EEPROMSizeGet" declared implicitly
    "../nvram.c", line 182: warning #225-D: function "EEPROMBlockCountGet" declared implicitly
    "../nvram.c", line 184: warning #225-D: function "EEPROMProgram" declared implicitly
    "../nvram.c", line 177: warning #552-D: variable "e2size" was set but never used
    "../nvram.c", line 177: warning #552-D: variable "e2block" was set but never used
    "../nvram.c", line 189: warning #225-D: function "EEPROMRead" declared implicitly
    Finished building: "../nvram.c"

    Building file: "../pscmd.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="pscmd.d_raw" "../pscmd.c"
    "../pscmd.c", line 57: warning #179-D: variable "CmdAckMsg" was declared but never referenced
    "../pscmd.c", line 58: warning #179-D: variable "CmdAckUnion" was declared but never referenced
    "../pscmd.c", line 59: warning #179-D: variable "cmddat" was declared but never referenced
    "../pscmd.c", line 31: remark #1534-D: (ULP 7.1) Detected use of global variable "CmdProcState" within one function "initCmdProc". Recommend placing variable in the function locally
    Finished building: "../pscmd.c"

    Building file: "../pscontrol.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="pscontrol.d_raw" "../pscontrol.c"
    "../pscontrol.c", line 131: warning #552-D: variable "TempVal" was set but never used
    "../pscontrol.c", line 132: warning #552-D: variable "TempValinC" was set but never used
    "../pscontrol.c", line 1028: warning #552-D: variable "lcdstatus" was set but never used
    "../pscontrol.c", line 1656: warning #179-D: variable "tempval" was declared but never referenced
    "../pscontrol.c", line 1658: warning #552-D: variable "votltemp" was set but never used
    "../pscontrol.c", line 1662: warning #552-D: variable "lcdstatus" was set but never used
    "../pscontrol.c", line 1738: warning #552-D: variable "ascstr" was set but never used
    "../pscontrol.c", line 1739: warning #179-D: variable "VoltMant1" was declared but never referenced
    "../pscontrol.c", line 1740: warning #179-D: variable "VoltMant2" was declared but never referenced
    "../pscontrol.c", line 1741: warning #179-D: variable "VoltFract1" was declared but never referenced
    "../pscontrol.c", line 1743: warning #552-D: variable "lcdstatus" was set but never used
    "../pscontrol.c", line 1773: warning #179-D: variable "ascstr" was declared but never referenced
    "../pscontrol.c", line 1774: warning #179-D: variable "lcdstatus" was declared but never referenced
    "../pscontrol.c", line 1776: warning #179-D: variable "votltemp" was declared but never referenced
    "../pscontrol.c", line 1778: warning #179-D: variable "tempval" was declared but never referenced
    Finished building: "../pscontrol.c"

    Building file: "../psrecvmsgq.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="psrecvmsgq.d_raw" "../psrecvmsgq.c"
    Finished building: "../psrecvmsgq.c"

    Building file: "../psrecvr.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="psrecvr.d_raw" "../psrecvr.c"
    "../psrecvr.c", line 23: remark #1534-D: (ULP 7.1) Detected use of global variable "EscFlag" within one function "initRecvr". Recommend placing variable in the function locally
    "../psrecvr.c", line 28: remark #1534-D: (ULP 7.1) Detected use of global variable "RecvPktLength" within one function "initRecvr". Recommend placing variable in the function locally
    "../psrecvr.c", line 23: warning #552-D: variable "EscFlag" was set but never used
    "../psrecvr.c", line 24: warning #179-D: variable "RxPktArray" was declared but never referenced
    Finished building: "../psrecvr.c"

    Building file: "../pstatus.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="pstatus.d_raw" "../pstatus.c"
    "../pstatus.c", line 84: warning #179-D: variable "tempsts" was declared but never referenced
    "../pstatus.c", line 201: warning #179-D: variable "cPstatus3" was declared but never referenced
    "../pstatus.c", line 201: warning #179-D: variable "cPstatus4" was declared but never referenced
    "../pstatus.c", line 28: warning #552-D: variable "pdbouncearr1" was set but never used
    "../pstatus.c", line 30: warning #552-D: variable "pdbouncearr3" was set but never used
    "../pstatus.c", line 31: warning #552-D: variable "pdbouncearr4" was set but never used
    Finished building: "../pstatus.c"

    Building file: "../pstxmsgq.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="pstxmsgq.d_raw" "../pstxmsgq.c"
    Finished building: "../pstxmsgq.c"

    Building file: "../psystick.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="psystick.d_raw" "../psystick.c"
    "../psystick.c", line 50: warning #179-D: variable "cOne" was declared but never referenced
    "../psystick.c", line 50: warning #179-D: variable "cTwo" was declared but never referenced
    Finished building: "../psystick.c"

    Building file: "../startup_ccs.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="startup_ccs.d_raw" "../startup_ccs.c"
    "../startup_ccs.c", line 265: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../startup_ccs.c", line 283: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../startup_ccs.c", line 301: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    Finished building: "../startup_ccs.c"

    Building file: "../temperature_sensor.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="temperature_sensor.d_raw" "../temperature_sensor.c"
    "../temperature_sensor.c", line 192: warning #179-D: variable "Ns2alarmTemp" was declared but never referenced
    "../temperature_sensor.c", line 193: warning #179-D: variable "Ns2atripTemp" was declared but never referenced
    "../temperature_sensor.c", line 459: warning #994-D: missing return statement at end of non-void function "configADC0"
    "../temperature_sensor.c", line 605: warning #994-D: missing return statement at end of non-void function "configADC1"
    "../temperature_sensor.c", line 672: warning #994-D: missing return statement at end of non-void function "controlTemp"
    "../temperature_sensor.c", line 696: warning #179-D: variable "i" was declared but never referenced
    "../temperature_sensor.c", line 856: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 863: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 869: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 874: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 875: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 876: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 877: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 878: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 879: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../temperature_sensor.c", line 919: warning #70-D: integer conversion resulted in truncation
    "../temperature_sensor.c", line 892: warning #552-D: variable "voltchan" was set but never used
    "../temperature_sensor.c", line 950: warning #70-D: integer conversion resulted in truncation
    "../temperature_sensor.c", line 932: warning #552-D: variable "Curchan" was set but never used
    "../temperature_sensor.c", line 1037: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1039: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1041: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1043: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1045: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1047: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1057: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1059: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1061: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1063: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1065: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1067: warning #188-D: pointless comparison of unsigned integer with zero
    "../temperature_sensor.c", line 1112: warning #179-D: variable "volt5" was declared but never referenced
    "../temperature_sensor.c", line 1112: warning #179-D: variable "current5" was declared but never referenced
    "../temperature_sensor.c", line 1158: warning #994-D: missing return statement at end of non-void function "updateVISts1"
    "../temperature_sensor.c", line 1192: warning #179-D: variable "curr" was declared but never referenced
    "../temperature_sensor.c", line 1079 (col. 14): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1090 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1097 (col. 14): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1105 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1148 (col. 18): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1170 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1181 (col. 12): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1205 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../temperature_sensor.c", line 1230 (col. 12): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    Finished building: "../temperature_sensor.c"

    Building file: "../timers.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="timers.d_raw" "../timers.c"
    "../timers.c", line 169: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../timers.c", line 170: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../timers.c", line 183: warning #552-D: variable "cOne" was set but never used
    "../timers.c", line 183: warning #552-D: variable "cTwo" was set but never used
    "../timers.c", line 207: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../timers.c", line 208: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../timers.c", line 277: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 285: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 299: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 304: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 309: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 315: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 320: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 327: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 331: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../timers.c", line 335: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    Finished building: "../timers.c"

    Building file: "../vdsutils.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="vdsutils.d_raw" "../vdsutils.c"
    "../vdsutils.c", line 21: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
    "../vdsutils.c", line 23: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 32: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
    "../vdsutils.c", line 34: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 87: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 90: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 95: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 121: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 124: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 129: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 155: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 156: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 184: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../vdsutils.c", line 188: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    Finished building: "../vdsutils.c"

    Building file: "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="utils/uartstdio.d_raw" --obj_directory="utils" "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c"
    "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c", line 668: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c", line 878: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c", line 1044: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c", line 1139: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c", line 134: remark #1534-D: (ULP 7.1) Detected use of global variable "g_pcHex" within one function "UARTvprintf". Recommend placing variable in the function locally
    Finished building: "C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c"

    Building target: "wlrv06a.out"
    Invoking: ARM Linker
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --advice:power=all -g --gcc --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --define=ccs="ccs" --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual -z -m"timers_ccs.map" --stack_size=512 --heap_size=0 -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/lib" -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="wlrv06a_linkInfo.xml" --rom_model -o "wlrv06a.out" "./calib.obj" "./chksum.obj" "./comm.obj" "./dacpwm.obj" "./lcd.obj" "./msgpacking.obj" "./nvram.obj" "./pscmd.obj" "./pscontrol.obj" "./psrecvmsgq.obj" "./psrecvr.obj" "./pstatus.obj" "./pstxmsgq.obj" "./psystick.obj" "./startup_ccs.obj" "./temperature_sensor.obj" "./timers.obj" "./vdsutils.obj" "./utils/uartstdio.obj" "../timers_ccs.cmd" -llibc.a -l"/driverlib/ccs/Debug/driverlib.lib"
    <Linking>
    error #10008-D: cannot find file "/driverlib/ccs/Debug/driverlib.lib"

    undefined first referenced
    symbol in file
    --------- ----------------
    ADCClockConfigSet ./temperature_sensor.obj
    ADCIntClear ./temperature_sensor.obj
    ADCIntStatus ./temperature_sensor.obj
    ADCProcessorTrigger ./temperature_sensor.obj
    ADCSequenceConfigure ./temperature_sensor.obj
    ADCSequenceDataGet ./temperature_sensor.obj
    ADCSequenceEnable ./temperature_sensor.obj
    ADCSequenceStepConfigure ./temperature_sensor.obj
    EEPROMInit ./nvram.obj
    EEPROMRead ./nvram.obj
    GPIOPadConfigSet ./timers.obj
    GPIOPinRead ./pstatus.obj
    GPIOPinTypeADC ./temperature_sensor.obj
    GPIOPinTypeGPIOInput ./timers.obj
    GPIOPinTypeGPIOOutput ./timers.obj
    GPIOPinWrite ./dacpwm.obj
    SysCtlClockFreqSet ./timers.obj
    SysCtlPeripheralEnable ./dacpwm.obj
    SysCtlPeripheralReady ./timers.obj
    SysTickEnable ./timers.obj
    SysTickIntEnable ./timers.obj
    remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
    SysTickPeriodSet ./psystick.obj

    >> Compilation failure
    makefile:161: recipe for target 'wlrv06a.out' failed

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "wlrv06a.out" not built
    gmake: *** [wlrv06a.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • The linker command line has -l"/driverlib/ccs/Debug/driverlib.lib" which tells it to link in the driverlib.lib but the path to it is not provided.

    You can either add the full path to driverlib.lib directly in the --library option, or specify the path under --search_path option and just the library name under --library option.

    This screenshot is an example of the first option. SW_ROOT here is a variable that resolves to C:\ti\tivaware_c_series_2_1_4_178. You can use a variable or specify the full absolute path.