Analog Devices VisualDSP++ 3.5 Manual page 290

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

Advertisement

Linking for Complex C Source File – Example 2
The following is an example of an LDF file (for ADSP-BF535 DSP)
which is based on the complex C source from Listing 1-13. Also see
Figure C-2 on page
Listing C-9. C .LDF File Example - SDRAM.LDF
ARCHITECTURE(ADSP-BF535)
SEARCH_DIR($ADI_DSP\Blackfin\lib
#define LIBS libsmall535.dlb libc535.dlb libm3free535.dlb
libevent535.dlb libio535.dlb libcpp535.dlb libcpprt535.dlb
libdsp535.dlb libsftflt535.dlb libetsi535.dlb idle535.doj
$LIBRARIES = LIBS, librt535.dlb;
$OBJECTS = crts535.doj, $COMMAND_LINE_OBJECTS crtn535.doj;
// Define physical system memory below...
MEMORY{
// 16KB of user code in L1 SRAM segment
Mem_L1_Code_SRAM {TYPE(RAM) START(0xFFA00000) END(0xFFA03FFF)
// 16KB of user data in L1 Data Bank A SRAM
Mem_L1_DataA_SRAM {TYPE(RAM) START(0xFF800000) END(0xFF803FFF)
// 16KB of user data in L1 Data Bank B SRAM
Mem_L1_DataB_SRAM {TYPE(RAM) START(0xFF900000) END(0xFF903FFF)
// 4KB of L1 Scratch memory for C run-time stack (user mode)
Mem_Scratch_Stack {TYPE(RAM) START(0xFFB00000) END(0xFFB007FF)
// 248KB of user code and data in L2 SRAM segment
Mem_L2_SRAM {TYPE(RAM) START(0xF0000000) END(0xF003DFFF)
// 4KB for heap in L2 SRAM (for dynamic memory allocation)
Mem_Heap {{TYPE(RAM) START(0xF003E000) END(0xF003EFFF)
C-12
C-16.
WIDTH(8)}
WIDTH(8)}
WIDTH(8)}
WIDTH(8)}
WIDTH(8)}
WIDTH(8)}
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?

Subscribe to Our Youtube Channel

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents