Example 1 - Basic .Ldf File For Blackfin Processors - Analog Devices VisualDSP++ 3.5 Manual

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

Advertisement

LDF File Overview
Example 1 – Basic .LDF File for Blackfin Processors
Listing 3-1
is an example of a basic
(formatted for readability). Note the
and refer to
"Notes on Basic .LDF File
ples are provided in
Processors"
and
Listing 3-1. Example .LDF File for ADSP-BF535 Processor
ARCHITECTURE(ADSP-BF535)
SEARCH_DIR($ADI_DSP\Blackfin\lib)
$OBJECTS = CRT, $COMMAND_LINE_OBJECTS ENDCRT;
MEMORY
{
MEM_L2
{ TYPE(RAM) START(0xF0000000) END(0xF002FFFF) WIDTH(8) }
MEM_HEAP
{ TYPE(RAM) START(0xF0030000) END(0xF0037FFF) WIDTH(8) }
MEM_STACK
{ TYPE(RAM) START(0xF0038000) END(0xF003DFFF) WIDTH(8) }
MEM_SYSSTACK
{ TYPE(RAM) START(0xF003E000) END(0xF003FDFF) WIDTH(8) }
MEM_ARGV
{ TYPE(RAM) START(0xF003FE00) END(0xF003FFFF) WIDTH(8) }
}
SECTIONS
{
/* List of sections for processor P0 */
dxe_L2
{
INPUT_SECTION_ALIGN(2)
/* Align all code sections on 2 byte boundary */
INPUT_SECTIONS( $OBJECTS(program) $LIBRARIES(program))
INPUT_SECTION_ALIGN(1)
INPUT_SECTIONS( $OBJECTS(data1) $LIBRARIES(data1))
INPUT_SECTION_ALIGN(1)
3-4
"LDF Programming Examples for Blackfin
"LDF Programming Examples for ADSP-21xx
/* Define/label system memory
/* List of global Memory Segments */
VisualDSP++ 3.5 Linker and Utilities Manual
file for ADSP-BF535 processors
.LDF
and
MEMORY{}
SECTIONS{}
Examples". Other
for 16-Bit Processors
commands
file exam-
.LDF
DSPs".
*/

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?

Questions and answers

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents