User`s guide
add
Board number : 0
Processor number : 0
Default timeout : 10.00 secs
RTDX channels : 0
cc.visible(1) % Optional. Makes CCS IDE visible on your desktop.
new(cc,'myproject','project');
% Now add a C source file
add(cc,'c6711dsk_adc.c'); % Adds the source file for the ADC block.
In CCS IDE, c6711dsk_adc.c shows up in myproject,intheSource
folder. Now add a new build configuration to myproject.Afteryouadd
the new configuration, you can see it on the co nfi gurations list in CCS
IDE, along with the usua l
Debug and Release configurations:
new(cc,'Testcfg','buildcfg')
Adding a new type definition to the type object is straightforward:
cc=ticcs;
info = add(cc.type, 'mynew typedef','int32');
info =
type: 'int32'
size: 1
uclass: 'numeric'
cc.type
Defined types : Void, Float, Double, Long, Int, Short, Char, mynewtypedef
See Also activate, cd, open, remove
7-6