Tool/software: TI C/C++ Compiler
Hi,
I’m new to CCS but familiar with other compilers.
I would like to use the PDK 03_02_00_05 for the evmK2G.
After spending time with ccsv7 I have now more success with ccsv6.2.0. (You might want to mention the incompatibility on the web).
I can now build and import a project, but always get the same error even on a clean new installation on any of my laptops:
[snip]
**** Build of configuration Debug for project GPIO_LedBlink_evmK2G_armTestProject ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/pdk_k2g_1_0_4/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/gpio_arm.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/edma3_lld_2_12_02_26/packages;C:/ti/bios_6_46_01_38/packages;C:/ti/pdk_k2g_1_0_4/packages;C:/ti/ndk_2_25_00_09/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmTCI66AK2G02 -r debug -c "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3" "C:/ti/pdk_k2g_1_0_4/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/gpio_arm.cfg"
'Finished building: C:/ti/pdk_k2g_1_0_4/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/gpio_arm.cfg'
' '
'Building target: GPIO_LedBlink_evmK2G_armTestProject.out'
'Invoking: GNU Linker'
"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mcpu=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DSOC_K2G -DEVM_K2G -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"GPIO_LedBlink_evmK2G_armTestProject.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_46_01_38/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,ARM_CORE=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"GPIO_LedBlink_evmK2G_armTestProject.out" "./GPIO_board.o" "./main_led_blink.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lnosys -lc -Wl,--end-group
makefile:146: recipe for target 'GPIO_LedBlink_evmK2G_armTestProject.out' failed
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: GPIO_LedBlink_evmK2G_armTestProject.out uses VFP register arguments, c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3\libgcc.a(bpabi.o) does not
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3\libgcc.a(bpabi.o)
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: GPIO_LedBlink_evmK2G_armTestProject.out uses VFP register arguments, c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3\libgcc.a(_divdi3.o) does not
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3\libgcc.a(_divdi3.o)
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: error: GPIO_LedBlink_evmK2G_armTestProject.out uses VFP register arguments, c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3\libgcc.a(_udivdi3.o) does not
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3\libgcc.a(_udivdi3.o)
C:\ti\pdk_k2g_1_0_4\packages\MyExampleProjects\GPIO_LedBlink_evmK2G_armTestProject\Debug\configPkg\package\cfg\gpio_arm_pa15fg.oa15fg:(.data.ti_sysbios_knl_Task_Object__table__V+0x28): undefined reference to `gpio_test'
collect2.exe: error: ld returned 1 exit status
gmake: *** [GPIO_LedBlink_evmK2G_armTestProject.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
[snip]
I’m convinced that any user PDK\evmK2G user might run into this and that you might be able to reproduce it with the current versions on the web.
I didn’t find any solution in this forum.
Any help is highly appreciated.
Regards, Tobias