The Expert Linker automatically does this, and therefore you do not need
to perform any additional modifications to the LDF.
You can confirm that Expert Linker has correctly added the .
link against command line by selecting View Global Properties in the
Memory Map pane and clicking on the Processor tab.
The
shared.sm
Against box for each processor.
You can use Expert Linker to detect non-linked input sections, such as a
variable declared in external SDRAM memory, which belongs to the
shared memory segment.
When both processors and the shared memory segments have been prop-
erly configured, and Expert Linker has detected all input sections, you can
link the object files from different input sections to their corresponding
memory sections.
In general, the linking process consists of following steps:
1. Sort the left pane of the Expert Linker window by LDF Macros
instead of Input Sections (default setting). To do that, right-click
on the left pane and select Sort by/LDF Macros.
2. Right-click on the LDF Macro window and add a new macro for
P0 (Add/LDF Macro). For example,
same step for
3. Add the object files (.
as to the shared memory segment. This is done by right-clicking on
each recently created LDF macro and then selecting
Add/Object/Library File.
The use of LDF macros becomes extremely useful in systems where
there is more than one sorted by Input Sections instead of LDF
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
file should now be contained in the Executables to Link
and
P1
shared.sm
) that correspond to each processor as well
doj
$OBJECTS_P0.
.
Expert Linker
file to the
sm
Repeat the
4-47
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?