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.

Platform Utilities

Hi,

I  wanted to use the platform utilities  along with the mutex  example.

I have made a project . See the screenshots shown below:

 

 

 

What  I am not able to see is why this error  when  platform.h  is there in the includes path.

I  try to circumvent  the problem  by  adding the following code  

 

When i have selected PDK  the required library should automatically get added to the makefile.

How  do I add the required libraries to the  makefile  with code composer studio ?

Can  you walk me through the steps to make this type of project in Code Composer studio ?

 

Regards

Arvind

 

  • Arvind,

    What device are you using?

    And are you using the MCSDK?

  • Hi David,

    Yes I am using MCSDK.  I am using c6678evm.

    I got rid of the include file errof by using <ti/platform/platform.h>  instead of "platform.h"

    However I am still stuck with the libraries problem.

    I am sure that in addition to   -l"libc.a  I need to add -lti.platform.evm6678.ae66.mk

    however the makefile is automatically generated so eventhough I edit it it gets overwritten.

    I do not know how to add the required files manually through code composer studio.

    I will appreciate your help in this regard.

    Regards

    Arvind

     

  •  

    Arvind,

     

    Please share the .cfg file of your project.

    If you look at the MCSDK example that you are referencing,  in it's .cfg file , there is loadPackage XDC command, which starts the platform.lib for 6678 platform. And in the Build settings of the project, you can add the search path for this library. Please see the attached screen shot.

    Hope this helps.

    Regards,

    Varada

     

  • Hi,

     

    I wondered for quite sometime why the method did not work.

     

    See I added    C:\Program Files\ti\pdk_C6678_1_0_0_12\packages\ti\platform\evmc6678l\platform_lib\lib\debug  as library path.

    I would always get library not found.

    CCS did not like the special characters in the pdk_c6678_1_0_0_12.

    I make a seperate directorry called PLIB  and everything worked.

    Likewise I also added GPIO libraries and got them working.

    Thanks for the help

     

    Regards

    Arvind