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.

TMS320F280049: Reserved Name for linked resources

Part Number: TMS320F280049

Dear Champs,

I am asking this for our customer.

In CCS Project->Property->Linked resources, there are names that can be used to link to locations.

The user is asking if there is a reserved name that can be used to link to the location where the project is imported. That is, this name is used as the location of the referenced project.

For example, 

Reference project A

Project B is imported from A but needs to refer to some files under A.

Is there any “reserved name” for project B that can be used to point to the location of project A?

Wayne Huang

  • Huang, 

    Will redirect this query to the CCS team. 

    Best Regards

    Siddharth

  • Hello Wayne,

    Reference project A

    Project B is imported from A but needs to refer to some files under A.

    Is there any “reserved name” for project B that can be used to point to the location of project A?

    Depending on how source files a linked to project A, the CCS project manager may create a variable called "ORIGINAL_PROJECT_ROOT" for project B. This variable will point to the original project's (project A) directory. Example:

    However, this variable is not always generated. If all the sources are physically added to the project or linked by an existing variable with an absolute path, then the variable is not generated. It is only needed when the original project has source files linked via a variable that is dynamic (like PROJECT_LOC). Otherwise you will need to set the variable yourself. 

    Another option is to add a macros.ini file to project A which defines the directory. Then when CCS import project A, it will create project B and automatically add the variable to the project

    https://software-dl.ti.com/ccs/esd/documents/ccs_portable-projects.html#sharing-variables-file

    Thanks

    ki