lnk32x.cmd
来自「TI OMAP5910(1510)的最简单测试程序,用于 硬件最初的调试,简要」· CMD 代码 · 共 72 行
CMD
72 行
/****************************************************************************/
/* LNK32.CMD - v2.01 COMMAND FILE FOR LINKING TMS470 32BIS C/C++ PROGRAMS */
/* */
/* Usage: lnk470 <obj files...> -o <out file> -m <map file> lnk32.cmd */
/* cl470 <src files...> -z -o <out file> -m <map file> lnk32.cmd */
/* */
/* Description: This file is a sample command file that can be used */
/* for linking programs built with the TMS470 C/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 run-time support */
/* library 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 below, be sure to use the correct name here. */
/* */
/****************************************************************************/
-c /* LINK USING C CONVENTIONS */
-stack 0x8000 /* SOFTWARE STACK SIZE */
-heap 0x2000 /* HEAP AREA SIZE */
/* -l rtsc_32e.lib */ /* GET RUN-TIME SUPPORT */
/* SPECIFY THE SYSTEM MEMORY MAP */
MEMORY
{
I_MEM : org = 0x00000000 len = 0x00000020 /* INTERRUPTS */
P_MEM : org = 0x00000020 len = 0x0003FFE0 /* 256K-32 Bytes PRG MEMORY */
/*-----------------------------------------------------------------------*/
/* NCS4: EXTERNAL FAST */
/* NEC SDRAM (8 MBytes) or MICRON SDRAM (8 MBytes) */
/*-----------------------------------------------------------------------*/
S_MEM : org = 0x10000000 len = 0x020000 /* 128K Bytes DATA MEMORY */
/*-----------------------------------------------------------------------*/
/* NCS6: INTERNAL MKRAM DATA */
/* 192 Kbytes 8/16/32 R/W */
/*-----------------------------------------------------------------------*/
S_MEM2 : org = 0x20000000 len = 0x030000 /* 192K Bytes DATA MEMORY */
/*-----------------------------------------------------------------------*/
/* ARM RHEA BRIDGE ADDRESS MAPPING */
/*-----------------------------------------------------------------------*/
RHEA_STROBE0_CS0_ADDR : org = 0xfffd0000 len = 0x800
RHEA_STROBE1_CS0_ADDR : org = 0xfffe0000 len = 0x800
}
/* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY */
SECTIONS
{
.intvecs : {} > I_MEM /* INTERRUPT VECTORS */
.bss : {} > S_MEM /* GLOBAL & STATIC VARS */
.sysmem : {} > S_MEM /* DYNAMIC MEMORY ALLOCATION AREA */
.stack : {} > S_MEM /* SOFTWARE SYSTEM STACK */
.data : {} > S_MEM /* RAM data (used by ASM) */
.text : {} > P_MEM /* CODE */
.cinit : {} > P_MEM /* INITIALIZATION TABLES */
.const : {} > P_MEM /* CONSTANT DATA */
.framebuf : {} > S_MEM2 /* Frame Buffer */
.csldata : {} > S_MEM2 /* Structure data for the test */
.SEMObj : {} > S_MEM2 /* Semaphore Objects creation */
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?