This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Selective CFG

Other Parts Discussed in Thread: SYSBIOS

Hello everyone,

Target is C6678, SYSBIOS 6.34, CCS 5.3

I don't know if it's possible but here's what I'd like to do :

2 core application, same code, same cfg. Tasks created statically in the cfg.

core0 has 2 tasks : tsk0 and tsk1
core1 has 2 tasks : tsk0 and tsk2

What I want in the cfg :

if core 0
    create tsk1
else if core1
   create tsk2

I tried with
var nameList = ["CORE0","CORE1"];
MultiProc.numProcessors = 2;
MultiProc.setConfig(null, nameList);

if ( MultiProc.id == 0 )

but it doesn't work.

Basically I need the XDCscript equivalent of MultiProc_self();

Any idea ?

Thank you,

CM