Part Number: TDA3XEVM
Hi,
Im trying to use FC to init resources for MPEG4 codecs like in test app:
/*Added for using ECPY */ var DSKT2 = xdc.useModule('ti.sdo.fc.dskt2.DSKT2'); xdc.useModule('ti.sysbios.xdcruntime.Settings'); /* Configure heap for FC use */ var internalMemorySegment; /* Variable to identify internal memory section*/ var intHeapSize = 8192; /* Size to make internal heap */ internalMemorySegment = "L2SRAM"; Program.sectMap[".INTMEM_HEAP"] = internalMemorySegment; var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem'); var heapMemParams = new HeapMem.Params(); heapMemParams.size = intHeapSize; heapMemParams.sectionName = ".INTMEM_HEAP"; Program.global.INTMEM_HEAP = HeapMem.create(heapMemParams); /* Configure DSKT2 heaps and scratch */ DSKT2.ALLOW_EXTERNAL_SCRATCH = false; DSKT2.DARAM0 = "INTMEM_HEAP"; DSKT2.DARAM1 = "INTMEM_HEAP"; DSKT2.DARAM2 = "INTMEM_HEAP"; DSKT2.SARAM0 = "INTMEM_HEAP"; DSKT2.SARAM1 = "INTMEM_HEAP"; DSKT2.SARAM2 = "INTMEM_HEAP"; DSKT2.ESDATA = "INTMEM_HEAP"; DSKT2.IPROG = "INTMEM_HEAP"; DSKT2.EPROG = "INTMEM_HEAP"; DSKT2.DSKT2_HEAP = "INTMEM_HEAP";
that I copyed in my cfg file. But DSKT2 libs dont linked automatically and I have to add
-lC:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\codecs\framework_components_3_40_02_07\packages\ti\sdo\fc\dskt2\lib\release\dskt2.ae66
option. Is it Ok?