下面是编程环境自动生成的,看不太懂,所以也不知道该怎么根据自己的需要做改动
# ----------------------------------------------------
# linker command file for DSP56807EVM
# using
# external pRAM
# external xRAM
# internal xRAM (for compiler regs)
# mode 3
# EXT 0
# ----------------------------------------------------
# see end of file for additional notes
# additional reference: Motorola docs
# for this LCF:
# interrupt vectors --> external pRAM starting at zero
# program code --> external pRAM
# constants --> external xRAM
# dynamic data --> external xRAM
# stack size is set to 0x1000 for external RAM LCF
# requirements: Mode 3 and EX=0
# note -- there is a mode OB but any Reset or COP Reset
# resets the memory map back to Mode 0A.
# DSP56807EVM board settings
# ON --> jumper JG7 (mode 0 upon exit from reset)
# ON --> jumper JG8 (enable external board SRAM)
# CodeWarrior debugger Target option settings
# OFF --> "Use Hardware Breakpoints"
# ON --> "Debugger sets OMR at Launch" option
# note: with above option on, CW debugger sets OMR as
# OMR:
# 0 --> EX bit (stay in Debug processing state)
# 1 --> MA bit
# 1 --> MB bit
# about the reserved sections
# for this external RAM only LCF:
# p_interrupts_RAM -- reserved in external pRAM
# memory space reserved for interrupt vectors
# interrupt vectors must start at address zero
# interrupt vector space size is 0x80
# x_compiler_regs_iRAM -- reserved in internal xRAM
# The compiler uses page 0 address locations 0x30-0x40
# as register variables. See the Target manual for more info.
# notes:
# program memory (p memory)
# (RWX) read/write/execute for pRAM
# (RX) read/execute for flashed pROM
# data memory (X memory)
# (RW) read/write for xRAM
# (R) read for data flashed xROM
# LENGTH = next start address - previous
# LENGTH = 0x0000 means use all remaing memory
# revision history
# 011020 R4.1 a.h. first version
# 030220 R5.1 a.h. improved comments