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.

CCS5.5.0.00077 and an extra src folder with sysbios .exclude file and few sysbios obj

I am using CCS5.5.0.00077, i have just upgraded MCSDK (mcsdk_bios_3_01_03_06) and i am using xdctools_3_30_05_60 and bios_6_41_00_26 to build the project and i found out that :

1.) A new "sysbios" directory is appearing under my src directory.  It is full of files with names like BIOS.obj and sysbios.lib.

2.) A .exclude file gets generated in during every build and is dropped into my src directory as well.

3.)A makefile.libs gets generated in during build  and is dropped into my src directory as well.

The project get build successfully with no error just this extra folder appears i have tried to clean the project and  even deleted the src folder and the project build perfectly and this src folders appears again with all the above mention detail.  i have tried with CCS _6_1 as well and saw the same issue.

I have also figured out how to get away with the source file. when i downgraded the xdctools_3_25_06_96 and sys/bios 6.37.3.30 and that src folder disappears and the project builds fine.  Can any one suggest me how to get rid of the extra src folder generated using the latest tools provided by TI.


Looking forward towards reply soon. Thanks

  • Hi Nitish,

    The "src" directory contains SYS/BIOS source objects and library. These objects and library are built along with the application. There is no option to not generate it with the latest SYS/BIOS versions. It is designed to help user customize the library as required.

    Hope it helps,
    Vikram

  • HI Vikram,

    Thanks for your reply. I understand "src" directory contains SYS/BIOS source objects and library and will get generated with the latest SYS/BIOS versions. As I understand these object files should be in debug folder and  this src folder should be part of the "DEBUG" folder. As I suspect there is an issue with the path defined. 

    Can you suggest me any way i can move that extra automatic created "src" folder while building project inside the "debug" folder (by changing the path or any other way)?

    Regards,

    Nitish

  • The "src" not being part of "debug" is by design.  However, we do have a feature in SYS/BIOS that would allow to set the directory where you would like the sources to be generated. This feature though is not documented and not supported officially.

    In your .cfg file, add the following code:

    BIOS.libDir = "customdir";

    BIOS.libDir can be set to an absolute path or a relative path to the build directory (build directory in your case is debug/configPkg).

    Vikram

  • Thanks Vikram, it works :)