Using Makefiles to Build Applications
2-20
2.6 Using Makefiles to Build Applications
You can build your DSP/BIOS executables using a Code Composer Studio
project or using your own makefile. The Code Composer Studio software
includes gmake.exe, the GNU make utility.
For details specific to your version of DSP/BIOS, see the SetupGuide.html
and release_notes.html files in your DSP/BIOS installation.
As an alternative to building your program as a Code Composer Studio
project, you can use a makefile.
In the following example, the C source code file is volume.c, additional
assembly source is in load.asm, and the configuration file is volume.cdb. This
makefile is for use with gmake, which is included with the Code Composer
Studio software.
A typical makefile for compiling and linking a DSP/BIOS program is shown in
Example 2-3.
Unlike the Code Composer Studio project, makefiles allow for multiple linker
command files. If the application requires additional linker command files you
can easily add them to the CMDS variable in the example makefile shown in
Example 2-3. However, they must always appear after the
program
cfg.cmd
linker command file generated by the Configuration Tool.
Содержание 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 ...