User`s guide
activate
visible(cc,1)
Now make two projects in CCS IDE.
new(cc,'myproject1.pjt','project')
new(cc,'myproject2.pjt')
In CCS IDE, myproject2 is now the active project, because you just
created it. With two projects in CCS I DE , add a new build con figuration
to the second project.
new(cc,'Testcfg','buildcfg')
If you switch to CCS IDE, you see myproject2.pjt in bold lettering in
the project view , s ignaling it is the active project. When y ou check the
active configuration list, you see three build configurations—
Debug,
Release,andTestcfg. C urrently, Testcfg is the active build
configuration in
myproject2.
Finally, add a text file to
myproject1 and mak e it the active docu ment
window in CCS IDE. In this case, y ou a dd the source file for the ADC
block.
activate(cc,'myproject1.pjt','project') % Makes myproject1 the active project.
add(cc,'c6711dsk_adc.c')
activate(cc,'c6711dsk_adc.c','text')
See Also build, new, remove
7-3