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.

importing existing CCS examples without relocating files

I swear it used to be I could import a CCS project from the examples directory without moving it into the workspace. I don't need two copies, I'm perfectly fine working with the one installed with the tools. I just notices that all the examples I imported with CCS v6.0 were relocated to the workspace. There is an option not to relocate files when I import but its selected and greyed out. What am I doing wrong. This used to be fairly intuitive.

  • Hello Ryan,

    Did you check if the project you are importing have a .ccsimportspec file. If yes, then remove it to get control back.

    Regards
    Amit
  • the projects are created in such a manner that the source code is in the root of the project folder with what looks like settings in a subfolder called ccs. When I add files to the project folder and then add them inside of code composer studio it copies them into the the ccs folder. I don't want to copy or link them, I just want it to use the files in the project folder just like its using the rest of them. When I allow it to copy them into the ccs folder it doesn't even look there, it looks in the project folder. What am I doing wrong here?
  • Ryan Lush67904 said:
    the projects are created in such a manner that the source code is in the root of the project folder with what looks like settings in a subfolder called ccs.

    First based on your reference to the "ccs" folder, I assume you are referring to the TivaWare examples. In TivaWare, yes, the source files are in the root level of the example folder, while the actual CCS project metadata files are in the "ccs" folder. For more on the project files, please see this wiki: http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#Project_Files_and_Build_System_Overview

    The project files (.project, .ccsproject etc) define which source files are actually part of the project - and it could be more than just the ones found in the root example folder. The TivaWare examples are set up in a specific way, so it might be best to create a copy of the example project and modify it as you desire so you still have the known good version in the original example if you need to revert to it.