Creating and Building a CCSv4 Project for DSP/BIOS Applications
2-4
f)
Save the configuration by choosing
File > Save
or clicking the Save
icon. You can close the DSP/BIOS Configuration Tool at this point,
but can always return later to make further changes.
3) Add a source file to your project in one of the following ways:
■
You can create a new file by choosing
File > New > Source File
.
■
You can add an existing file to your project by choosing
Project >
Add Files to Active Project
(copies the file to your workspace) or
Project > Link Files to Active Project
(does not copy the file; uses
the original location).
For example, you might choose
Project > Add Files to Active
Project
and browse to the C:\Program Files\Texas
Instruments\bios_5_40\packages\ti\bios\examples directory to add
the hello.c file. See Section 2.1.2 for a brief overview of how hello.c
uses DSP/BIOS.
Note that the provided examples expect specific filenames for the
DSP/BIOS Configuration File. For example, hello.c #includes
hellocfg.h, which would be generated from a configuration file called
hello.tcf. If your configuration file has a different name, you should
modify the #include statement. For example, if your configuration file
is hellobios5.tcf, modify the hello.c file to #include the hellobios5cfg.h
file.
4) Create a target configuration for the CCS project to use when building as
follows:
a) Choose
File > New > Target Configuration File
.
b) Type a filename for the target configuration, which will be stored as
part of the CCS project. For example, you might type
TCI6482sim.ccxml if that reflects the target you want to use. Then,
click
Finish
.
c)
In the
Connection
field for your target configuration, choose the type
of connection you have to the target. Then type part of the target
name in the
Device
filter field. For example, you might choose the "TI
Simulator" connection and filter by "64xp" to find a C64x+ simulator.
d) Choose
File > Save
or click the Save icon to save your target
configuration.
5) Build your project as follows:
a) Choose
Project > Build Active Project
.
b) Examine the log in the Console tab to diagnose any errors. Notice
that when you build, the DSP/BIOS Configuration .tcf file is
Содержание TMS320 Series
Страница 1: ...TMS320 DSP BIOS v5 40 User s Guide Literature Number SPRU423G April 2009 ...
Страница 16: ...xvi ...
Страница 152: ...Tasks 4 48 Figure 4 12 Trace from Example 4 7 ...
Страница 168: ...Semaphores 4 64 Figure 4 14 Trace Results from Example 4 11 ...
Страница 202: ...5 20 ...
Страница 287: ...Index 9 Index Void 1 11 W words data memory 3 15 of code 1 5 wrapper function 2 29 ...
Страница 288: ...Index 10 Index ...