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/TM4C129ENCPDT: error #10234-D: unresolved symbols remain error and #10010: errors encountered during

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Tool/software: Code Composer Studio

I'd appreciate any help here - trying to bring up a eval board from scratch using the pinmux tool and Tivaware.  I currently can't get the basic program to compile when using the PinoutSet() function.  I've included C:\ti\TivaWare_C_Series-2.1.4.178 and it's driverlib and inc subdirectories as separate search paths.  Any suggestions?

Error/build messages:

**** Build of configuration Debug for project FirstTivaProgram ****

"C:\\ti\\ccs900\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

Building file: "../main.c"
Invoking: ARM Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/Jack Bourne/Desktop/Tiva Programming/TivaSandbox/FirstTivaProgram" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178/driverlib" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178/inc" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --define=ccs="ccs" --define=PART_TM4C129ENCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
Finished building: "../main.c"

Building target: "FirstTivaProgram.out"
Invoking: ARM Linker
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --define=ccs="ccs" --define=PART_TM4C129ENCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"FirstTivaProgram.map" --heap_size=0 --stack_size=512 -i"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/lib" -i"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="FirstTivaProgram_linkInfo.xml" --rom_model -o "FirstTivaProgram.out" "./main.obj" "./pinout.obj" "./tm4c129encpdt_startup_ccs.obj" "../tm4c129encpdt.cmd" -llibc.a
<Linking>

undefined first referenced
symbol in file
--------- ----------------
GPIOPinTypeGPIOOutput ./pinout.obj
GPIOPinTypeUSBAnalog ./pinout.obj
GPIOPinWrite ./pinout.obj
SysCtlPeripheralEnable ./pinout.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "FirstTivaProgram.out" not built

>> Compilation failure
makefile:143: recipe for target 'FirstTivaProgram.out' failed
gmake[1]: *** [FirstTivaProgram.out] Error 1
makefile:139: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

And the code:

#define TARGET_IS_TM4C129_RA2

//#include Pinmux files
#include "pinout.h"

//#include Tivaware libraries
#include <hw_adc.h>
#include <hw_can.h>
#include <hw_gpio.h>
#include <hw_ints.h>
#include <hw_pwm.h>
#include <hw_ssi.h>
#include <hw_uart.h>
#include <rom.h>
#include <rom_map.h>

//#include <tm4c129encpdt.h>

//#include standard C libraries
#include <stdint.h>

uint32_t hello_world;
uint32_t hello_world_max = 999999;


/**
* main.c
*/
void main(void)
{
////Processor setup////
//Processor Pin configuration (from pinmux tool)
PinoutSet();
//CAN Configuration
//SPI Configuration

////Peripheral setup////
//4-20 Transmitter Configuration
//4-20 Reciever Configuration
//Thermocouple Configuration

//Main infinite loop
for (;;)
{
for (hello_world = 1; hello_world <= hello_world_max; hello_world++)
{

}
}
}

  • Hi Jack,
    There is a TivaWare hello example that calls PinoutSet(). I think it will be easier if you start with this example. There are actually many examples that come with the TivaWare. You can find TivaWare hello example in <TivaWare_Installation>/examples/boards/ek-tm4c1294xl/hello. Please let me know if you can get this example working. You simply just import the this example project into your CCS workspace and it should be ready for compile and run.

      Please note that the example is for TM4C1294CPDT. But you can adapt to your specific device once you get it working. 

  • Hi Jack,
    I have not heard back from you. Are you able to reference the hello example in my last reply? I will suggest that you start with a working example and build upon it for your application. I will close the thread for now. If you have new question you can open a new thread or reply back to this post if you have some updates to share.