⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dma4.cmd

📁 基于DSP和FPGA的专业级音频处理开发板的源代码(更改版)
💻 CMD
字号:
/*****************************************************************************/
/*                                                                           */
/* LNK.CMD - V2.00  COMMAND FILE FOR LINKING C PROGRAMS                      */
/*                                                                           */
/*      Usage:  lnk500 <obj files...>    -o <out file> -m <map file> lnk.cmd */
/*              cl500  <src files...> -z -o <out file> -m <map file> lnk.cmd */
/*                                                                           */
/*      Description: This file is a sample command file that can be used     */
/*                   for linking programs built with the C54x C Compiler.    */
/*                   This file has been designed to work for                 */
/*                   548 C54x device.                                        */
/*                   Use it as a guideline; you may want to make alterations */
/*                   appropriate for the memory layout of the target         */
/*                   system and/or your application.                         */
/*                                                                           */
/*      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 the libraries.                */
/*                                                                           */
/*             (2)   If the run-time library you are using is not            */
/*                   named rts.lib, be sure to use the correct name here.    */
/*****************************************************************************/
MEMORY {
   PAGE 0:   VECT:       origin = 0x80,          len = 0x80
   PAGE 0:   IPROG:      origin = 0x100,         len = 0x2000 
   PAGE 1:   IDATA:      origin = 0x2100,        len = 0x5f00   
} /* MEMORY */


SECTIONS {
   .text    > IPROG PAGE 0               /* code                     */
   .switch  > IPROG PAGE 0               /* switch table info        */
   .cinit   > IPROG PAGE 0 

   .vectors > VECT PAGE 0                /* interrupt vectors         */
   
   .cio     > IDATA PAGE 1               /* C I/O                     */  
   .data    > IDATA PAGE 1       /* initialized data          */
   .bss     > IDATA PAGE 1       /* global & static variables */
   .const   > IDATA PAGE 1               /* constant data             */
   .sysmem  > IDATA PAGE 1               /* heap                      */
   .stack   > IDATA PAGE 1               /* stack                     */
   .csldata > IDATA PAGE 1                 
   dmaDst: {} align = 2048, load = IDATA PAGE 1
   dmaSrc: {} align = 2048, load = IDATA PAGE 1              /*  N*4 */       
   dmaLin: {} align = 256,  load = IDATA PAGE 1              /*  N/2 */
   dmaRin: {} align = 256,  load = IDATA PAGE 1 
   Lyin:  {} align =64,  load = IDATA   PAGE 1 
   Ryin:  {} align =64,  load = IDATA   PAGE 1
       
} /* SECTIONS */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -