Linking for a Single-Processor ADSP-219x
System
When you link an executable for a single-processor system, the LDF
describes the processor's memory and places code for that processor. The
LDF in
Listing D-1
commands in this LDF.
•
ARCHITECTURE()
•
SEARCH_DIR()
search path
•
and
$OBJS
file input
•
outputs a map file
MAP()
•
MEMORY{}
•
PROCESSOR{}
gram sections for that processor's output file by using the memory
definitions
Listing D-1. Single-Processor System LDF Example
ARCHITECTURE(ADSP-219x)
SEARCH_DIR ( $ADI_DSP\219x\lib )
MAP (SINGLE-PROCESSOR.MAP) // Generate a MAP file
// $ADI_DSP is a predefined linker macro that expands
// to the VDSP install directory. Search for objects in
// directory 219x\lib relative to the install directory
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
LDF Programming Examples for ADSP-21xx DSPs
shows a single-processor LDF. Note the following
defines the processor type
adds the
lib
macros retrieve object (
$LIBS
defines memory for the processor
and
SECTIONS{}
and current working directory to the
) and library (
.DOJ
defines a processor and place pro-
)
.DLB
D-3
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?