?? c54xx.cmd
字號:
/***************************************************************************** * $Revision: 1.3 $* $Date: 2002/01/07 21:52:17 $** Copyright (c) 1997 Texas Instruments Incorporated** COMMAND FILE FOR LINKING TMS5402 Targets** Usage: lnk500 <obj files...> -o <out file> -m <map file> lcf.cmd* cl500 <src files...> -z -o <out file> -m <map file> lcf.cmd** Description: This file is a sample command file that can be used* for linking programs built with the TMS54x C Compiler. * Use it as a guideline; you may want to change* the allocation scheme according to the size of your* program and the memory layout of your target system.** Notes: (1) You must specify the directory in which rts.lib is* located. Either add a "-i<directory>" line to this* file, or use the system environment variable C_DIR to* specify a search path for libraries.** (2) If the run-time support library you are using is not* named rts.lib, be sure to use the correct name here.*****************************************************************************/-c-stack 0x0256-heap 0x0256-lrts.lib-lrtdx.lib/* This symbol defines the interrupt mask to be applied to IMR inside RTDX Critical Code sections. This example masks the timer interrupt.*/_RTDX_interrupt_mask = ~0x0008; /* interrupts masked by RTDX */MEMORY {/* Note: Assume PMST = 0xffe0 PMST Bit Name Value 15-7 IPTR 0xff80 6 MP/!MC 1 5 OVLY 1 3 DROM 0*/ PAGE 0: /* Program Space */ RSV1 (R) : o=00000h l=00080h /* Reserved */ DARAM (RWIX) : o=00080h l=03f80h /* On-Chip Dual-Access RAM */ EXT0 (R) : o=04000h l=0bf80h /* External Page 0 */ VECS (RWIX) : o=0ff80h l=00080h /* Interrupt Vector Table */ PAGE 1: /* Data Space */ MMRS (RW) : o=00000h l=00060h /* Memory-Mapped Registers */ SPAD (RW) : o=00060h l=00020h /* Scratch-Pad RAM */ DARAM (RWIX) : o=00080h l=03f80h /* On-Chip Dual-Access RAM */ EXT0 (R) : o=04000h l=0c000h /* External Page 0 */}SECTIONS{ GROUP : > DARAM /* group sections in overlay for contiguous addresses */ { .text /* User code */ .rtdx_text /* RTDX code */ .cinit /* initialization tables */ .pinit /* initialization functions */ .switch /* for C-switch tables */ .cio /* C-IO Buffer */ .bss /* global & static vars */ .rtdx_data /* RTDX data area */ .const /* C constant tables */ .sysmem : fill = 0DEADh /* dynamic heap */ .stack : fill = 0BEEFh /* system stack */ } .intvecs : > VECS PAGE 0 /* interrupt vector table */ .data : > SPAD PAGE 1 /* asm data area */}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -