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.

MAD utility question.How can I build the user application with SYSBIOS?

Other Parts Discussed in Thread: SYSBIOS

Hi, 

I am testing the MAD Utility using C6678 EVM.

I use the document below:

http://processors.wiki.ti.com/index.php/MAD_Utils_User_Guide

According to the steps in the Demo walkthrough, use the build_examples_msys.sh, I can the build the example code.

But in my project, the SYSBIOS is used, so I must build my project with CCS IDE(CCS5.2).

My question is, when I build my project, If I want to use the Prelinker bypass mode, what should be set in the CCS5.2.1?And If I want to use the Prelinker mode,  what should be set ?

Should the library used in the project (edma, platform_lib...etc) be rebuilt too?

Regards,

Yin

  • Hi YIn,


    You don`t need to rebuild the libraries linked to the project if you have not made any changes to the source.

    I am not sure I understand your first question. Are you trying to run the prelinker bypass mode tool before your sysbios application build. If that is the case you can use the steps section under your Project build settings to run a prelinker utility before your application build.

    Regards,

    Rahul

  • Hi Rahul

    Thanks for  replay!

    I’m sorry for my insufficient description.

    According to the steps in the MAD_Utils_User_Guide, I understand that when the Perlinker mode be used,the applications should be built to "relocatable" . In the Makefile of app1 and app2 , I can see  that the linker option "--dynamic  -r" is used . I think I must used the option equivalently in CCS , is it right?

    And in the Makefile of shlibs, I can see that the linker option "--init=_p_init --dynamic=lib -r" is used for Perlinker  mode. I want to know that  if  I  don't rebuild the library,  How can I use the linker option equivalently to the library (like edma,  platform_lib...etc)  which linked to my project  ?

    Regards

    Yin

     

  • Hi Yin,

    In CCS, if you right click on the project and open your Build Settins under the C6000 Compiler you will find a option for linker output where you can define the output to be relocatable (-r) and under dynamic linking support options you can setup the build to create a dynamic executable or library.

    Yes, if you want to change compiler options and the archive options for the libraries, you will need to add that to the build settings of the libraries and rebuild them as these libraries are likely to not have dynamic linking options in the default build settings.

    Regards,

    Rahul