as we know that dap/bios will generate a cmd file, but xdctools will generate not only one cmd file .
when i use the bios and the xdctools separately ,they all worked well.
but when i write and *.cfg file to use xdctools and create a *.tcf file with dsp/bios , build the project will trigger more than twenty errors .
such as : error: symbol _BIOS_init is defined multiple times:
(&Project path) \xdcconfig\package\cfg\XDC_BIOS_x64Pcfg.o64P and (&Project path)\Debug\\XDC_BIOScfg.obj
my cfg file as follows:
var System = xdc.useModule("xdc.runtime.System");
var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');
osalGlobal.runtimeEnv = osalGlobal.DSPBIOS;
osalGlobal.defaultMemSegId = "DDR2";
I have read an example project provied by TI :(C:\dvsdk_1_01_00_15\examples\video_encdec\evmDM6437), this project use both the dsp/bios and xdctools, but without such problem i mentioned.
I 'm sure that the buildOption of my project and the video_encdec project is same(I have compared of them several times).
Does anybody has ever faced this problem? or you may know how to config it ,please tell me .I really appreciate of you . an example program such as "hello world " would be better .