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.

CCS: Add include search path through script / eclipsec command



Tool/software: Code Composer Studio

Hi,

Does anybody knows how can I add include search path for my project not through ccs. I've copied another project by calling:

eclipsec -noSplash -data "E:\CCS\Workspace" -application com.ti.ccstudio.apps.projectImport -ccs.location "E:\CCS\Template" -ccs.copyIntoWorkspace "true" -ccs.renameTo "Hello" -ccs.overwrite

Now, I'd like to modify this project by adding an extra include search path

I have been trying to find eclipsec command or script to do it but I didn't succeed

BR,
Pawel

  • Pawel,

    At the moment there is no support to add parameters to existing projects using the command line interface. Sorry.

    Regards,
    Rafael
  • Hi Rafael,

    Do you have an idea how can I solve it in another way?

    To be specific - I am working on automation of code generation process (linking ML/SL with CCS). I know it is already somehow resolved by Mathworks (by IDE link)

    Currently I see only two possibilities - manual build with make command, but for that I have to create makefiles by myself or modify .project xml file and add extra path there (which should be an easier way in my opinion). What do you think?

    Best regards,

    Pawel

  • Pawel,

    I am not entirely sure how Mathworks does it under the hood, but any number of options can be added when using the Project Create command line API. Perhaps they have a simple .txt file with all the options they are going to use and simply re-create the project every time there are modifications made to it, passing this .txt file using the -ccs.args option. Check section 8 of the page below:

    processors.wiki.ti.com/.../Create

    The option of manually modifying the makefile is not ideal as it can be easily overwritten by the IDEs - same thing for the .project file, with the disadvantage of being much more complex than the makefile.

    Apart from that I am afraid not having any additional ideas.

    Hope this helps,
    Rafael
  • Thank you,
    I will create the project from the command line then

    Best regards,
    Paweł
  • Hi Pawel,

    The MathWorks IDE link technology (idelink.tlc) is old - was designed to work with CCS3.3. I would advise NOT using this technique as this workflow is not supported in CCSv6 and likely to be sunset at some point in the future.

    You can manually build your own CCS automation - but both MathWorks Embedded Coder and TI CCS has changed dramatically from when the solution was constructed (2009, so about 8 years ago). I don't have any specific suggestions, but MathWorks has a consulting group which has built similar custom automation for clients.

    -Brian