Specifications

Creating a Configuration File
3-2
3.1 Creating a Configuration File
Another way to implement the hello world program is to use the LOG module
provided with the DSP/BIOS API. You can use the DSP/BIOS API to provide
basic run-time services within your embedded programs. The API modules
are optimized for use on real-time DSPs. Unlike C library calls such as puts(),
DSP/BIOS enables real-time analysis without halting your target hardware.
Additionally, the API code consumes less space and runs faster than C
standard I/O. A program can use one or more DSP/BIOS modules as desired.
In this chapter, you modify the files from Chapter 2 to use the DSP/BIOS API.
(If you skipped Chapter 2, follow the steps in section 2.1, page 2-2 and
section 2.2, page 2-3.)
In order to use the DSP/BIOS API, a program must have a configuration file
that defines the DSP/BIOS objects used by the program. In this section, you
create a configuration file.
1) If you have closed Code Composer Studio, restart it and use
Project
Open to reopen the myhello.mak project in the
c:\ti\myprojects\hello1 folder. (If you installed elsewhere, open the folder
within the myprojects folder in the location where you installed.)
2) Choose File
New
DSP/BIOS Config.
3) Select the template for your DSP board and click OK. (The
TMS320C6000 DSP/BIOS User’s Guide
explains how to create a custom
template.)