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.

CCSv4 BIOS6: Adding QUE to configuration .cfg file

Other Parts Discussed in Thread: SYSBIOS

Hi

How do I add the QUE module to my BIOS 6 .cfg file?

It does not seem to be listed anywhere in my "Available Packages" CCSv4 GUI window.

Is adding QUE not possible with XGCONF viewer?

When I manually added

var QUE = xdc.useModule('ti.bios.QUE');

I get the errors.

So I went to the migration guide. It said to use ti.sysbios.misc.Queue (Table 1 p16 spraas78.pdf). So when I tried

var QUE = xdc.useModule('ti.sysbios.misc.Queue');

I even got more errors.

According to BIOS6 cdoc/index.html, it says I need these modules

requires ti.sysbios.knl;
requires ti.sysbios.misc;
requires ti.sysbios.heaps;
requires ti.sysbios.ipc;

So how do I enter these in my xdc script?

Also, the link to ti.sysbios.misc is broken.

Cheers

 

  • Eddie --

    Please check the BIOS5 -> BIOS6 migration guide to see how to migrate BIOS 5.x apps to BIOS 6.x.   You cannot update the BIOS5 modules in the configuration tool.  We support existing configuration files (after migration to .cfg), but do not allow you to update the BIOS 5.x modules with the new config tool.  You can update using javascript, however.

    Eddie said:

    var QUE = xdc.useModule('ti.sysbios.misc.Queue');

    I even got more errors.

    Can you please send across the errors?   This should work.

    Eddie said:

    According to BIOS6 cdoc/index.html, it says I need these modules

    requires ti.sysbios.knl;
    requires ti.sysbios.misc;
    requires ti.sysbios.heaps;
    requires ti.sysbios.ipc;

    So how do I enter these in my xdc script?


    Where do you see this "requires" reference in the cdoc?   You should not have to do anything in the .cfg file to reference these, unless you are using one of the modules in your application.  

    Eddie said:

    Also, the link to ti.sysbios.misc is broken.

     

    The Queue module should work.  It is hidden from the cdoc documentation since the 'ti.sdo.utils.List' module is a better linked list module and preferred module.  We need to update the legacy/migration documentation to reference ti.sdo.utils.List instead of ti.sysbios.misc.Queue as replacement for QUE.   Tips for mixing BIOS5 and BIOS6 APIs are documented in the migration guide.  You need to rebuild all code against the new BIOS .h files.  You cannot use libraries built against BIOS5 with BIOS6.  

    If you send across your link errors, I might have some more ideas.

    Regards,
    -Karl-

     

  • Hi Eddie,

    I wanted to check in with you on this to see where you're at.  Have you had any luck?

    Thanks and Regards,

    Steve

  • No luck. I'm WOTIing right now (waiting on TI).

    Cheers

     

  • Ok.  Can you post the errors that you are seeing?  Also, if you could send your *.cfg script (or even send across your project) I can have a look at it and better help you out.

    Thanks and Regards,

    Steve

  • Eddie, I didn't see any further response from you.  Did you get some kind of resolution to this?