Analog Devices VisualDSP++ 3.5 Manual page 320

Linker and utilities manual for 16-bit processors
Hide thumbs Also See for VisualDSP++ 3.5:
Table of Contents

Advertisement

Linking an ADSP-219x MP System With Shared Memory
seg_dmda
{ TYPE(DM RAM) START(0x010000) END(0x017fff) WIDTH(16) }
seg_data2
{ TYPE(PM RAM) START(0x018000) END(0x01ebff) WIDTH(24) }
seg_heap
{ TYPE(DM RAM) START(0x01ec00) END(0x01efff) WIDTH(16) }
seg_stack
{ TYPE(DM RAM) START(0x01f000) END(0x01ffff) WIDTH(16) }
}
$LIBRARIES = lib219x.dlb, libc.dlb;
// This LDF specifies three link projects. The first is a
// shared memory project against which the PROCESSOR projects
// will be linked. The file containing the shared data
// buffers is defined in shared.c
SHARED_MEMORY {
$SHARED_OBJECTS = shared.doj;
// The output name of this shared object is subsequently
// used in the PROCESSOR project's LINK_AGAINST command
OUTPUT(shared.sm)
// shared.c has only data declarations. No need to
// specify an output section other than "seg_dmda"
SECTIONS {
seg_dmda {INPUT_SECTIONS( $SHARED_OBJECTS(seg_dmda))
} > seg_dmda
}
}
// The second link project is a DXE project. It will be linked
// against the SHARED link project defined above.
PROCESSOR PSH0 {
$PSH0_OBJECTS =
LINK_AGAINST(shared.sm)
OUTPUT( psh0.dxe )
SECTIONS {
dxe_pmco
D-20
.
psh0.doj, 219x_hdr.doj;
VisualDSP++ 3.5 Linker and Utilities Manual
.
for 16-Bit Processors

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents