📄 sr.cmd
字号:
/****************************************************************************/
/* lnk.cmd v##### */
/* Copyright (c) 1996@%%%% Texas Instruments Incorporated */
/* Usage: lnk6x <obj files...> -o <out file> -m <map file> lnk.cmd */
/* cl6x <src files...> -z -o <out file> -m <map file> lnk.cmd */
/* */
/* Description: This file is a sample linker command file that can be */
/* used for linking programs built with the C compiler and */
/* running the resulting .out file on a C620x/C670x */
/* simulator. Use it as a guideline. You will want to */
/* change the memory layout to match your specific C6xxx */
/* target system. You may want to change the allocation */
/* scheme according to the size of your program. */
/* */
/* Notes: (1) You must specivy a directory in which rts6x00.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 the libraries. */
/* */
/* (2) If the run-time library you are using is not named */
/* rts6200[e].lib, rts6400[e].lib, or rts6700[e].lib, be */
/* sure to use the correct name here. */
/* */
/****************************************************************************/
-c
-heap 0x2000
-stack 0x4000
MEMORY
{
PMEM: o = 00000020h l = 0000ffe0h
//EXT0: o = 00400000h l = 01000000h
//EXT1: o = 01400000h l = 00400000h
//EXT2: o = 02000000h l = 01000000h
//EXT3: o = 03000000h l = 01000000h
BMEM: o = 0A0000000h l = 00040000h /*CE2:SRAM 256K DWORD*/
ROM: o = 90000000h l = 00080000h /*CE1:FLASH 1M WORD*/
}
SECTIONS
{
.text > PMEM
.stack > BMEM
.bss > BMEM
.cinit > BMEM
.cio > BMEM
.const > BMEM
.data > BMEM
.switch > BMEM
.sysmem > BMEM
.far > BMEM
/* .far > EXT2*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -