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.

28335 query



hi,

i have a problem with accessing gpio pins in the program

the error i get is this.....

 

 

**** Build of configuration Debug for project SRM_oct7 ****

 

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k all 

'Building file: ../DSP2833x_Gpio.c'

'Invoking: Compiler'

"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/bin/cl2000" --silicon_version=28 -g --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/include" --diag_warning=225 --large_memory_model --unified_memory --preproc_with_compile --preproc_dependency="DSP2833x_Gpio.pp"  "../DSP2833x_Gpio.c"

'Finished building: ../DSP2833x_Gpio.c'

' '

'Building target: SRM_oct7.out'

'Invoking: Linker'

"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/bin/cl2000" --silicon_version=28 -g --diag_warning=225 --large_memory_model --unified_memory -z -m"SRM_oct7.map" --warn_sections -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/lib" -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/include" --reread_libs --rom_model -o "SRM_oct7.out"  "./SRM_oct7_code.obj" "./DSP2833x_Gpio.obj" -l"libc.a" 

<Linking>

 

>> Compilation failure

warning: creating output section ".ebss" without a SECTIONS specification

warning: creating output section ".reset" without a SECTIONS specification

warning: creating ".stack" section with default size of 0x400; use the -stack

   option to change the default size

 

 undefined     first referenced   

  symbol           in file        

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

 _GpioCtrlRegs ./SRM_oct7_code.obj

 _GpioDataRegs ./SRM_oct7_code.obj

 

error: unresolved symbols remain

error: errors encountered during linking; "SRM_oct7.out" not built

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

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

Build complete for project SRM_oct7

kindly give your suggestions

  • Your linker command file isn't being found, or is missing. Without that file, none of your memory area's are defined, so you get the SECTION errors and the undefined symbol errors for the GPIO registers. The linker command file should be specified as the last item in the linker command line.