User`s guide

add
Purpose Add les or new typedef to active project in CCS
Syntax add(cc,'filename')
info = add(cc.type,'typedefname','datatype')
Description Use add when you have an existing le to add to your active project in
CCS. You can have more than one C CS IDE open at the same time,
such as C5000 and C6000 IDE instances.
cc identies which CCS
IDE instance gets the le , and it identies your board or processor.
Note that
cc does not identify your project in CCS it identies only
your hardw are or simulator.
add puts the le spe c ied by filename in
the active project in CCS. F iles you add must exist and be one of the
supported le types shown in the next table.
When you add les, CCS puts the les in the appropriate folder in the
project, such as putting source les with the
.c extensionintheSource
folder and adding .lib les to the Libraries folder. You cannot change
the destination folder in your CCS project. Using
add is identica l to
selecting Project > Add Files to Pro jec t in CCS IDE.
To specify the le to add,
filename must be the full path name to the
le, unless your le is in your CCS working directory or in a directory
on your MATLAB environment path. Embedded IDE Link CC searches
for les rst in your CCS IDE working directory, then in directories on
your MATLAB path.
You can add the following le types to a project thro u gh
add.
File Types and Extensions Supported by add and CCS IDE
File Type
Extensions
Supported CCS Project Folder
C/C++ source les
.c, .cpp, .cc, .ccx,
.sa
Source
Assembly source les .a*, .s* (excluding
.sa, refer to C/C++
source les)
Source
7-4