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 V4.1.2 new project compatibilty

Other Parts Discussed in Thread: EK-LM3S8962

Dear All,

 

This is regarding  creating a new project in CCS for stellaris platform. I wanted to test the SPI example code in the stellaris ware software. I have following queries:-

 

1) How to make the new project by keeping the original source files of stellaris ware intact. I want the copy of source files to be in my workspace.

2) Is it necessary to create one's own workspace at the location where the stellaris ware is installed.

3) How to make the project reusable if one doesnt have the stellaris ware package installed in his PC.

4) how to include one entire folder which contains all the necessary driver files, source files and theier corresponding header files in the project.

5) Is there any change required in settings of CCS IDE.

 

I tried by enabling the option "keep copy in workspace" but it returned errors. As a result everytime i need to copy the source files and header files each and every time I test some new peripheral.

 

Please suggest some alternative for above query to make the project distributable.

 

Regards,

Harshit

  • Harshit,

    Harshit Jain said:

    1) How to make the new project by keeping the original source files of stellaris ware intact. I want the copy of source files to be in my workspace.

    Stellarisware example projects have library and include linked dependencies that span across several directories under the installation directory. To keep the source files intact I would create a copy side-by-side in the same parent directory. For example, if the project you want is the qs_ek-lm3s8962 I would create a copy of the directory C:\StellarisWare\boards\ek-lm3s8962\qs_ek-lm3s8962 and keep it as the original.

    Harshit Jain said:

    2) Is it necessary to create one's own workspace at the location where the stellaris ware is installed.

    It is not necessary, as the Stellarisware projects were meant to be linked (and not physically copied) to the workspace anyways.

    Harshit Jain said:

    3) How to make the project reusable if one doesnt have the stellaris ware package installed in his PC.

    The example projects by default require the Stellarisware package installed. In order to make them portable without recreating them from scratch, you must manually copy and keep the directory structure of all dependencies (the include directories, source files and libraries). In practice it is easier to install the Stellarisware, copy the working project to its original location and Import it to the workspace.

    Harshit Jain said:

    4) how to include one entire folder which contains all the necessary driver files, source files and theier corresponding header files in the project.

    Unfortunately projects that have several linked resource dependencies do not have an automated way to creating a .ZIP file that contains everything. Therefore I would suggest to have a version control system (Subversion, Clearcase, etc.) that allows projects to be shared among peers. The CCSv4 Category has instructions on how to setup several version control plugins, and slide 24 of the CCS Tips and Tricks presentation shows which files are required to be included in the version control.

    Harshit Jain said:

    5) Is there any change required in settings of CCS IDE.

    No changes are required to the IDE options, but when the project is being imported to the workspace you need to keep them in the original location - i.e., leave the box Copy projects to the workspace unchecked.

    Hope this helps,

    Rafael