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

📄 zx240.cmd

📁 一个以DSP为CPU读取飞利浦D12USB芯片的通讯程序
💻 CMD
字号:
/**********************************************************************/
/* File Name:	  leds.cmd                                            */
/* Target System: C24x Evaluation Board                               */
/*                                                                    */
/* Description:   A basic linker command file for the 'F240 device.   */
/*                This file is used by the linker to determine where  */
/*                certain sections of code should reside in memory.   */
/*                                                                    */
/* Revision:      1.00                                                */
/**********************************************************************/

/*--------------------------------------------------------------------*/
/*  LINKER COMMAND FILE - MEMORY SPECIFICATION for the F240           */
/*--------------------------------------------------------------------*/

MEMORY
{
    PAGE 0 :   /* PM - program memory */
               VECS   : origin =    0h , length =   040h   /* VECTORS */
               PROG   : origin =  040h , length = 0FDC0h   /* PROGRAM */

    PAGE 1 :   /* DM - data memory */
               MMRS   : origin =    0h , length =   060h   /* MMRS    */
               B2     : origin = 0060h , length =   020h   /* DARAM   */
               B0     : origin = 0200h , length =  0100h   /* DARAM   */
               B1     : origin = 0300h , length =  0100h   /* DARAM   */
               DATA   : origin = 8000h , length =  8000h   /* XDM     */
    PAGE 2 :   /* I/O SPACE */
               IO_IN  : origin = 0ff00h, length =  0ffh    /* I/O MAPPED PERIPHERAL */
               IO_EX  : origin = 0000h,  length =  0ff00h  /* EXT. I/O MAPPED PERIPHERAL */

}

/*--------------------------------------------------------------------*/
/* SECTIONS ALLOCATION                                                */
/*--------------------------------------------------------------------*/
SECTIONS
{
    .vectors : { } > VECS      PAGE 0   /* Interrupt vector table     */
    .reset   : { } > VECS      PAGE 0   /* Reset code                 */
    .start   : { } > PROG      PAGE 0   /* Code                       */
    .text    : { } > PROG      PAGE 0   /* Code                       */
    .data    : { } > PROG      PAGE 0   /* Initialization data tables */
    .mmrs    : { } > MMRS      PAGE 1   /* Memory mapped registers    */
    .blk0    : { } > B0        PAGE 1   /* Block B0                   */
    .blk1    : { } > B2        PAGE 1   /* Block B2                   */
    .bss     : { } > B1        PAGE 1   /* Block B1                   */
    .blk3    : { } > DATA      PAGE 1   /* External Data Memory       */
}

⌨️ 快捷键说明

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