Other Parts Discussed in Thread: SYSBIOS
Hello,
I am trying to compile the multicore example given in packege PA. I have copied this in a different folder and have provided all the linking path and configuration file as well.
All things are compiled but few global variables are giving linking issue.
Error snapshot:
undefined first referenced
symbol in file
--------- ----------------
c1 ./pa_mgmt.obj
c1Size ./pa_mgmt.obj
c2 ./pa_mgmt.obj
c2Size ./pa_mgmt.obj
cppiGblCfgParams ./cppi_qmss_mgmt.obj
m ./pa_mgmt.obj
mSize ./pa_mgmt.obj
qmssGblCfgParams ./cppi_qmss_mgmt.obj
Since all the library package are already consider using the configuration file multicore_example.cfg, so I guess i did not miss any of the libraries.
Is there any other library I have to provide separately for linking. All library package are consider using the cfg file i guess.
Below are the details of my cfg file.
* ======== multicore_example.cfg ========
*
*/
/* Load all required BIOS/XDC runtime packages */
var Memory = xdc.useModule('xdc.runtime.Memory');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var HeapBuf = xdc.useModule('ti.sysbios.heaps.HeapBuf');
var Log = xdc.useModule('xdc.runtime.Log');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Hwi = xdc.useModule('ti.sysbios.family.c64p.Hwi');
/* Load the CSL package */
var Csl = xdc.loadPackage('ti.csl');
/* Load the CPPI package */
var Cppi = xdc.loadPackage('ti.drv.cppi');
/* Load the QMSS package */
var Qmss = xdc.loadPackage('ti.drv.qmss');
/* Load the PA package */
var Pa = xdc.loadPackage('ti.drv.pa');
var System = xdc.useModule('xdc.runtime.System');
SysStd = xdc.useModule('xdc.runtime.SysStd');
System.SupportProxy = SysStd;
/* Create a default system heap using ti.bios.HeapMem. */
var heapMemParams1 = new HeapMem.Params;
heapMemParams1.size = 8192 * 30;
heapMemParams1.sectionName = "systemHeap";
Program.global.heap0 = HeapMem.create(heapMemParams1);
/* This is the default memory heap. */
Memory.defaultHeapInstance = Program.global.heap0;
Program.sectMap["systemHeap"] = Program.platform.stackMemory;
/* Enable BIOS Task Scheduler */
BIOS.taskEnabled = true;
/* Memory map */
Program.sectMap[".text"] = "L2SRAM";
Program.sectMap[".const"] = "L2SRAM";
Program.sectMap[".qmss"] = "MSMCSRAM";
Program.sectMap[".cppi"] = "MSMCSRAM";
Program.sectMap[".sharedDDR"] = "MSMCSRAM";
Program.sectMap[".cppiMemTX"] = "MSMCSRAM";
Program.sectMap[".cppiMemRX"] = "MSMCSRAM";
============================================================
Please suggest some solution for this issue.
Regards
Anurag