Files Used to Create DSP/BIOS Programs
2-18
2.5 Files Used to Create DSP/BIOS Programs
Figure 2-1 shows files used to create DSP/BIOS applications. Files you write
are shown with a white background; generated files have a gray background.
The word program represents the name of your project or program. The
number 62 is replaced by 28, 55, or 64 as appropriate for your platform.
Figure 2-1. Files in a DSP/BIOS Application
Program Files
❏ program.c. Program source file containing the main function. You can
also have additional .c source files and program .h files. For user
functions, see Section 2.10, User Functions Called by DSP/BIOS.
❏ program.tcf. The Tconf script that generates the configuration files when
run. This is the source file for the configuration. This is the file you add to
a Code Composer Studio project to make the configuration part of the
application.
❏ *.asm. Optional assembly source file(s). One of these files can contain
an assembly language function called _main as an alternative to using a
C or C++ function called main.
❏ module.h. DSP/BIOS API header files for C or C++ programs. Your
source files should include std.h and the header files for any modules the
program uses.
program.out
compile or
assemble
assemble
link
generate
include
program.c
*.cmd
(optional)
program.tcf
programcfg.cmd
programcfg.s62
programcfg.h62
*.objprogram.obj programcfg.obj
*.asm, *.c, *.h,
and/or *.cpp
module.h62
module.h
compile
programcfg.h
programcfg_c.c
programcfg_c..obj