Part Number: EVMK2H
Tool/software: TI C/C++ Compiler
Hi,
I have recently bought EVMK2H platform. I am trying to build a simple hello world on ARM core of EVMk2H board using GCC Linaro compiler
CCS version = v7.1
Processor SDK installed = PROCESSOR-SDK-RTOS-K2HK 03_02_00_05
I followed the below link to build the hello world example on ARM core of EVMK2H:
processors.wiki.ti.com/.../Processor_SDK_Bare_Metal_Examples
When i try to build the project I get this error:
**** Build of configuration Debug for project stest8 ****
/home/user/ti/ccs7.1/ccsv7/utils/bin/gmake -k -j 4 all -O
Building file: ../main.c
Invoking: GNU Compiler
"/home/user/ti/ccs7.1/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -I"/home/user/workspace_v7/stest8" -I"/home/user/ti/ccs7.1/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" "../main.c"
Finished building: ../main.c
Building target: stest8.out
Invoking: GNU Linker
"/home/user/ti/ccs7.1/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc" -mtune=cortex-a15 -marm -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mfloat-abi=hard -Wl,-Map,"stest8.map" -o"stest8.out" "./main.o" -Wl,-T"../66AK2Gxx.lds"
makefile:138: recipe for target 'stest8.out' failed
../66AK2Gxx.lds:158: undefined symbol `HEAPSIZE' referenced in expression
collect2: error: ld returned 1 exit status
gmake[1]: *** [stest8.out] Error 1
gmake: *** [all] Error 2
makefile:134: recipe for target 'all' failed
**** Build Finished ****
Could anyone help me resolve this issue. The issue seems to be 66AK2Gxx.lds file.