Configuring DSP/BIOS Applications Statically
Program Generation
2-11
2.3 Configuring DSP/BIOS Applications Statically
, page 1-6 describes,
DSP/BIOS configurations allow you create objects and set their properties
statically, rather than at run-time. You can choose to create a configuration
graphically, textually, or using a combination of these methods.
The
DSP/BIOS Textual Configuration (Tconf) User’s Guide
(SPRU007)
contains details on the syntax used in configuration scripts.
2.3.1
When to Use Graphical Configuration
Use the DSP/BIOS Configuration Tool for the following advantages:
❏
If you want a tree-view interface that makes it easy to see the available
properties for each module and object.
❏
If you want to be prevented from making errors by the interface, which
provides drop-down lists of valid values and disables invalid commands
and fields.
You can use a text editor to modify a configuration script and then reload the
script into the DSP/BIOS Configuration Tool for further graphical editing.
There are certain restrictions on graphical editing after you have edited a
script or started a new configuration session.
2.3.2
When to Use a Text Editor
Use a text editor to modify a script if you want the following advantages:
❏
If you want a script to use branching, looping, and other constructs.
❏
If you want to create a number of similar objects. You can do this with cut-
and-paste or by looping over a create method.
❏
If you want to modularize settings you use in a set of applications. For
example, if your applications all use similar instrumentation objects, all
applications can include a single file that creates those objects.
❏
If you want the configuration to use the same symbol definitions as
program source files. You can do this by defining variables for use in
scripts and generating a C header file from the script to be included by
the program source code.
❏
If you want to create similar configurations, you can pass command-line
arguments to a script. For example, you might optimize a program by
varying the number of tasks created and testing resulting applications.
Summary of Contents for TMS320 Series
Page 1: ...TMS320 DSP BIOS v5 40 User s Guide Literature Number SPRU423G April 2009 ...
Page 16: ...xvi ...
Page 152: ...Tasks 4 48 Figure 4 12 Trace from Example 4 7 ...
Page 168: ...Semaphores 4 64 Figure 4 14 Trace Results from Example 4 11 ...
Page 202: ...5 20 ...
Page 287: ...Index 9 Index Void 1 11 W words data memory 3 15 of code 1 5 wrapper function 2 29 ...
Page 288: ...Index 10 Index ...