Creating copy of example project

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Introduction

TI provides many example CCS projects as part of their software offering. For example, the ControlSUITE software infrastructure for C2000 devices and Stellarisware for Stellaris devices include several example projects to jump-start the development process. Many users want to make copies of example projects provided by TI into a separate directory so they can make changes to it without fear of corrupting the original example. This article describes how this can be done for CCSv4 projects.


ControlSuite examples (C2000)

There are a couple of ways of creating copies of CCS4 example projects:

Make a copy of project level folder and edit project files

Use procedure described here: http://processors.wiki.ti.com/index.php/C28x_Creating_a_New_Project_from_an_Old_Project_in_CCS_4

Caveat: Even though this makes a copy of the project folder (and with it the main source files found within that folder), the common device source files (typically found in C:\ti\controlSUITE\device_support\f2833x\v132\DSP2833x_common\source) are still “linked” from their original location, so any changes made to these files will modify it in their original location.

Advantage: You can open both the original and copied project in the same CCS workspace (since they have different names) for quick comparison.

Make a copy of root level folder

This is the simplest and safest way to make a working copy but does use more disk space.

Stellarisware examples (Stellaris)

Stellarisware examples have similar constraints in that they refer to sources and link in libraries from several other directories within the Stellarisware tree.

The same two methods described above can be applied to create copies of Stellarisware examples as well.

Make a copy of project level folder and edit project files

 <linkedResources>
  <link>
   <name>blinky.c</name>
   <type>1</type>
   <locationURI>SW_ROOT/boards/ek-lm3s9b92/myblinky/blinky.c</locationURI>
  </link>
  <link>
   <name>startup_ccs.c</name>
   <type>1</type>
   <locationURI>SW_ROOT/boards/ ek-lm3s9b92/myblinky/startup_ccs.c</locationURI>
  </link>
  <link>
   <name>blinky_ccs.cmd</name>
   <type>1</type>
   <locationURI>SW_ROOT/boards/ ek-lm3s9b92/myblinky/blinky_ccs.cmd</locationURI>
  </link>
 </linkedResources>

Make a copy of root level folder

This is the simplest and safest way to make a working copy but does use more disk space.



Some general information on Portable Projects can be found here: http://processors.wiki.ti.com/index.php/Portable_Projects

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox