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.

BIOS5 to SYSBIOS 6.330546 : Migration of code using the ti.bios.support package

Hi,

I'm looking for a clear example using the ti.bios.support package that allows smooth migration from Bios5 code to Bios6 . No need to point me to the migration literature, where I didn't find the information...

My code base is quite important under Bios5 and I dont want to rewrite everything for the new Bios6 APIs. It looks like the  ti.bios.support package  could be helpfull.

Example :

LCK_create() is aliased as Lck_create in file lck.c :

LCK_Handle LCK_create(LCK_Attrs *attrs)
{
    Error_Block eb;

    Error_init(&eb);

    return ((LCK_Handle)Lck_create(NULL, &eb));
}

and Lck_create is defined as  #define Lck_create ti_bios_support_Lck_create in Lck.h .

The problem I'm having in building my config is  a claim of missing symbols :

ti_bios_support_Lck_Object__create__S C:\ti\bios_6_33_05_46\packages\ti\bios\lib\release\ti.bios.ae66<lck.oe66>

ti_bios_support_Lck_Object__delete__S C:\ti\bios_6_33_05_46\packages\ti\bios\lib\release\ti.bios.ae66<lck.oe66>

ti_bios_support_Lck_pend__E C:\ti\bios_6_33_05_46\packages\ti\bios\lib\release\ti.bios.ae66<lck.oe66>

ti_bios_support_Lck_post__E C:\ti\bios_6_33_05_46\packages\ti\bios\lib\release\ti.bios.ae66<lck.oe66>

 

This applies for TSK_xxx , MBX_xxx, SEM_xxx .

 

Any help welcome.

Cheers,

Philippe

 

 

  • Phillipe,

    Make sure your .cfg file has this line in it at the very top:

        xdc.loadPackage('ti.bios.tconf');

    This should cause all the necessary XXX libraries to get linked in.

    If the .cfg already has this line in it, please post the file for me to have a look at.

    Alan