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.

Difficulty linking example program (adcVoltMeasure.c) within the Starterware for evmAM335x eval board

I am unable to link this project - from example file adcVoltMeasure.c as part of the Starterware.

I've included all the file paths for the respective header files as called up by this example file - no problem.  I have also included the relevant source files (*.c) in the project but there appears to be something else missing.  TSCADCModuleClkConfig and TSCADCPinMuxSetUp  appear to be missing from the tsc_adc.c file and UARTConsoleGetc, UARTConsoleInit  and UARTConsolePutc appear to be missing from the uartstio.c file.  Is there an additional required or an updated file or set of files available somewhere?

Thanks 

Chris

 

Below is the console window output:

**** Build of configuration Debug for project Second ****

C:\ti\ccsv5\utils\bin\gmake -k all

'Building file: ../tsc_adc.c'

'Invoking: ARM Compiler'

"C:/ti/ccsv5/tools/compiler/tms470/bin/cl470" -mv7A8 --code_state=32 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/tms470/include" --include_path="C:/ti/AM335X_StarterWare_02_00_00_05/include/hw" --include_path="C:/ti/AM335X_StarterWare_02_00_00_05/include/armv7a/am335x" --include_path="C:/ti/AM335X_StarterWare_02_00_00_05/include" --include_path="C:/ti/AM335X_StarterWare_02_00_00_05/include/armv7a" --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="tsc_adc.pp" "../tsc_adc.c"

'Finished building: ../tsc_adc.c'

' '

'Building target: Second.out'

'Invoking: ARM Linker'

"C:/ti/ccsv5/tools/compiler/tms470/bin/cl470" -mv7A8 --code_state=32 --abi=eabi -me -g --diag_warning=225 --display_error_number -z --stack_size=0x400 -m"Second.map" -i"C:/ti/ccsv5/tools/compiler/tms470/lib" -i"C:/ti/ccsv5/tools/compiler/tms470/include" --reread_libs --warn_sections --rom_model -o "Second.out" "./uartStdio.obj" "./tsc_adc.obj" "./interrupt.obj" "./cpu.obj" "./adcVoltMeasure.obj" -l"libc.a"

<Linking>

undefined first referenced

symbol in file

--------- ----------------

TSCADCModuleClkConfig ./adcVoltMeasure.obj

TSCADCPinMuxSetUp ./adcVoltMeasure.obj

UARTConsoleGetc ./uartStdio.obj

UARTConsoleInit ./uartStdio.obj

UARTConsolePutc ./uartStdio.obj

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; "Second.out" not built

>> Compilation failure

gmake: *** [Second.out] Error 1

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

**** Build Finished ****