TI E2E Community
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?
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"
undefined first referenced
symbol in file
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 ****
Before linking the application, you need to compiler drviers, system, platforms, utils.
Also can you try the latest release 02.00.00.06?
Note: If this post answers your question, please click the Verify Answer button below. Thank you!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.