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.
Hello,
We are using a command line script to import and build a set of existing CCS projects for CCS v4.2.1.
Here's the 2 main lines from the script where this happens.
system("\"$ENV{'CCS4_DIR'}\\jre\\bin\\java\" -jar \"$ENV{'CCS4_DIR'}\\startup.jar\" -data \"$ENV{'WORKSPACE_DIR'}\" -ccs.location $pjtDir/$pjtName -ccs.projects $pjtName -application com.ti.ccstudio.apps.projectImport -ccs.overwrite");
system("\"$ENV{'CCS4_DIR'}\\jre\\bin\\java\" -jar \"$ENV{'CCS4_DIR'}\\startup.jar\" -data \"$ENV{'WORKSPACE_DIR'}\" -application com.ti.ccstudio.apps.projectBuild -ccs.projects $pjtName -ccs.configuration Release");
Note that the WORKSPACE_DIR variable is created in the script, so it's a new CCS workspace.
All software components/tools like BIOS, CE, FC, etc. are installed in the directory C:/ti; for example, C:/ti/bios_6_30_03_46.
Typically when we have a new workspace, we manually go to "CCS->Window->Preferences->CCS->RTSC->Products" and "Add" C:/ti to "Tool discovery path:"
Is there any command line option that we can specify that does the same thing?
Thanks!
Hi Gurnani,
Unfortunately, there is no command line option to do this in 4.2. I have filed an enhancement request for this functionality. SDSCM00042507
Martin
I have a similar question. I need a way to specify a new path using command line option for a newly installed CGT tools version. I am using CCS5.1.1 and trying to update the CGT tools version to 7.4.1
It works fine using CCS (Using Window->Preferences->CCS->Build->Compilers) however I want to do this using command line for a nightly build environment.
- Sameer
Sameer,
Unfortunately there isn't a command line option to specify the path to compiler tools.But please see this related post and see if that helps.
Aarti is correct, however one thing that you could do is install CGT inside of CCS directory (ccsv5\tools\compiler) and then run your project import. Newly added CGT will get automatically discovered.
Martin