User`s guide
add
Purpose Add files 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 file 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 identifies which CCS
IDE instance gets the file , and it identifies your board or processor.
Note that
cc does not identify your project in CCS — it identifies only
your hardw are or simulator.
add puts the file spe c ified by filename in
the active project in CCS. F iles you add must exist and be one of the
supported file types shown in the next table.
When you add files, CCS puts the files in the appropriate folder in the
project, such as putting source files with the
.c extensionintheSource
folder and adding .lib files 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 file to add,
filename must be the full path name to the
file, unless your file is in your CCS working directory or in a directory
on your MATLAB environment path. Embedded IDE Link CC searches
for files first in your CCS IDE working directory, then in directories on
your MATLAB path.
You can add the following file 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 files
.c, .cpp, .cc, .ccx,
.sa
Source
Assembly source files .a*, .s* (excluding
.sa, refer to C/C++
source files)
Source
7-4