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.

Trying to compile example program adcVoltMeasure.c for evmAM335x eval board - starterware

I am trying to compile the example program adcVoltMeasure using Code Composer Studio 5.1 and I am having a little difficulty.  It may be I've not got some settings correct - I'm new to Code Composer Studio..

I've created a project with the single source file adcVoltMeasure.c - added in the required include paths (pointing to the rquisite Starterware area) and I still get the following output: - the project is called Second.

All the errors point to imported functions as defined in the various header files.

Could someone point me in the right direction to correct this - I'm missing something somewhere.  Thank you,  Chris

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

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

'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 -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" "./adcVoltMeasure.obj" -l"libc.a"

<Linking>

warning #10210-D: creating ".stack" section with default size of 0x800; use the

-stack option to change the default size

undefined first referenced

symbol in file

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

IntAINTCInit ./adcVoltMeasure.obj

IntMasterIRQEnable ./adcVoltMeasure.obj

IntPrioritySet ./adcVoltMeasure.obj

>> Compilation failure

IntRegister ./adcVoltMeasure.obj

IntSystemEnable ./adcVoltMeasure.obj

TSCADCConfigureAFEClock ./adcVoltMeasure.obj

TSCADCConfigureStepEnable ./adcVoltMeasure.obj

TSCADCEOIControl ./adcVoltMeasure.obj

TSCADCEventInterruptEnable ./adcVoltMeasure.obj

TSCADCFIFOADCDataRead ./adcVoltMeasure.obj

TSCADCIntStatus ./adcVoltMeasure.obj

TSCADCIntStatusClear ./adcVoltMeasure.obj

TSCADCModuleClkConfig ./adcVoltMeasure.obj

TSCADCModuleStateSet ./adcVoltMeasure.obj

TSCADCPinMuxSetUp ./adcVoltMeasure.obj

TSCADCStepConfigProtectionDisable ./adcVoltMeasure.obj

TSCADCStepIDTagConfig ./adcVoltMeasure.obj

TSCADCTSModeConfig ./adcVoltMeasure.obj

TSCADCTSStepAnalogGroundConfig ./adcVoltMeasure.obj

TSCADCTSStepAnalogSupplyConfig ./adcVoltMeasure.obj

TSCADCTSStepConfig ./adcVoltMeasure.obj

TSCADCTSStepFIFOSelConfig ./adcVoltMeasure.obj

TSCADCTSStepModeConfig ./adcVoltMeasure.obj

TSCADCTSStepOperationModeControl ./adcVoltMeasure.obj

TSCADCTSTransistorConfig ./adcVoltMeasure.obj

UARTPutNum ./adcVoltMeasure.obj

UARTPuts ./adcVoltMeasure.obj

UARTStdioInit ./adcVoltMeasure.obj

error #10234-D: unresolved symbols remain

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

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

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

**** Build Finished ****

  • Hello,

    Looks like you are missing some Starterware libraries which define these symbols. You will need to add them to your project to resolve the errors. I am not familiar enough with Starterware to tell you which libraries are missing so you will need to check the documentation for Startware (and can also try asking ask in the AM335x forums)

    Thanks

    ki

  • Thanks

    I've found all the 'missing' C files and included them in my project although it appears these may not be complete.

    Chris