Hi,
I'm trying to use the EDMA on the ti814x board for the Cortex A8. For this I compiled the EDMA lib. Here is a cut of the compiling:
D:\02_Development_Tools\ti_tools\compiler\arm_5.0.5/bin/armcl -ppd=obj/a8/debug/.deps/edma3_drv_init.P -c -qq -pdsw225 --neon --endi-abi=eabi -eo.oea8fnv -ea.sea8fnv -g --symdebug:dwarf -Dxdc_target_name__=A8Fnv -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_debug -Dxdc_bld__vers_1_0_4_6_1 -D_ID:\02_Development_Tools\ti_tools\compiler\arm_5.0.5/include -I. -I../../../.. -Isrc -fr=obj/a8/debug -fs=obj/a8/debug -fc src/edma3_D:\Sandboxes\SR_Profiling_2014_04_09\04_Engineering\02_Development_Tools\ti_tools\compiler\arm_5.0.5/bin/armcl -c -qq -pdsw225 --neon --endian=little -mv7A8 --abi=eabi -eo.oea8fnv -symdebug:dwarf -Dxdc_target_name__=A8Fnv -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_debug -Dxdc_bld__vers_1_0_4_6_1 -D_DEBUG_=1 -ID:\ti_tools\compiler\arm_5.0.5/include -I. -I../../../.. -Isrc -fr=obj/a8/debug -fs=obj/a8/debug -fc src/edma3_drv_init.c
# Compiling src/edma3_drv_basic.c to obj/a8/debug/edma3_drv_basic.oea8fnv ...
That was successful so far. But when I try to use the library, I get the following error message:
arm_5.1.1/bin/armcl" -mv7A8 --code_state=32 --float_support=VFPv3 --abi=eabi -me --fp_mode=strict -g --gcc --define=_INCLUDE_NIMU_CODE --define=SR_DEMO_HIL_ARP32_A8 --define=SR_TARGET_ARM_7A8 --define=CORE_CA8 --define=_INCLUDE_IPv6_CODE --define=_NDK_EXTERN_CONFIG --diag_warning=225 --enum_type=packed --printf_support=full -z -m"client.map" -i"C:/ti/CCS55/ccsv5/tools/compiler/arm_5.1.1/lib" -i"D:/Sandboxes/SR_Profiling_2014_04_09/04_Engineering/04_Build/algo/sr/02_ECU/arm_gcc_v4.7.3_v7A8/debug" -i"D:/02_Development_Tools/ti_tools/edma3_lld/ti/sdo/edma3/drv/sample/lib/ti814x-evm/a8/debug" -i"D:/02_Development_Tools/ti_tools/edma3_lld/ti/sdo/edma3/rm/lib/ti814x-evm/a8/debug" -i"D:/02_Development_Tools/ti_tools/edma3_lld/ti/sdo/edma3/drv/lib/a8/debug" -i"C:/ti/CCS55/ccsv5/tools/compiler/arm_5.1.1/include" -i"D:/02_Development_Tools/ti_tools/pdk/nsp_dm814x_01_00_00_10/packages/ti/drv/centaurus/lib/debug" --reread_libs --warn_sections --xml_link_info="client_linkInfo.xml" --rom_model -o "client.out" -l"./configPkg/linker.cmd" "./webpage.obj" "./udpHello.obj" "./sr_hil_simulation_ports.obj" "./sr_hil_simulation.obj" "./profile.obj" "./netHooks.obj" "./evm_srif_algo_services.obj" "./division.obj" "./client.obj" "./centaurus_init.obj" "./algo_scheduler.obj" "./algo_base.obj" "./SharedRAM_EVE.obj" "D:/demo_hil_arp32/CommonSoC/SharedRAM.cmd" "../sr_hil_simulation.cmd" -l"ti.drv.centaurus.aea8f" -ledma3_lld_drv_sample.aea8fnv -ledma3_lld_rm.aea8fnv -ledma3_lld_drv.aea8fnv -lsr_debug.lib -l"libc.a"
<Linking>
error: cannot find file "edma3_lld_drv_sample.aea8fnv"
error: cannot find file "edma3_lld_rm.aea8fnv"
error: cannot find file "edma3_lld_drv.aea8fnv"
"D:\02_Development_Tools\ti_tools\edma3_lld\packages\ti\sdo\edma3\drv\lib\a8\debug\edma3_lld_drv.aea8fnv<edma3_drv_basic.oea8fnv>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files
It's confusing that the Linker first can't find the lib and than says that the Tag_PCS_config is different. But to compile the programm I used for the gcc part the flags: -mfloat-abi=hard -mabi=aapcs and in the ti part --abi=eabi.
If someone had an idea, that would be really great.
Regards
Daniel