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/TMS320F28027: creating portable project

Part Number: TMS320F28027
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi, I'm using F28027 launchpad and CCS7.2 to do some test under the guidance of CCS5 workshop for C2000.

One part of the workshop is about creating portable project. It creates a  Linked Resource Path Variable: controlSUITE = C:\ti\controlSUITE, and then link the source file  relative to the Linked Resource Path Variable. If the project is copied to another computer, it can search the source file according to the location.

1. But that only applies to the case where the source file location on two computers are the same, otherwise it cannot locate the source file. But if it's the case, there is no meaning to use relative path other than the absolute path.

2. what's version control, I've never checked .cproject, .project, .ccsproject file before because I cannot open these files, what should I check about these files?

  • Hi Howard,

    Howard Zou said:
    1. But that only applies to the case where the source file location on two computers are the same, otherwise it cannot locate the source file. But if it's the case, there is no meaning to use relative path other than the absolute path.

    That is correct and expected. However, the purpose of the variable is that if the project is imported into a different environment where the source files are in a different location, then all you need to do is change the value of the variable once and all the links that use the variable will be adjusted to find the files in the new location. Think of it as using a variable in your source code vs a hard coded value. It just makes it much easier to manage changes.

    Howard Zou said:
    2. what's version control, I've never checked .cproject, .project, .ccsproject file before because I cannot open these files, what should I check about these files?

    Version Control is usually some system than manages changes to documents/source. Examples are things like Git, CVS, SVN, ClearCase, SourceSafe, etc. The term "Check in" is a term from such software and refers to an action when you add a file to the version control system to be managed.

    Thanks

    ki