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

📄 msp430fe427cks.xcl

📁 430系列开发之MSP430FE42x开发代码实例
💻 XCL
字号:
//  msp430FE427C.XCL
//
//  Texas Instruments, Revision: 1.0
//
//  XLINK command file for the ICC430 C-compiler and the MSP430FE427
//
//  Usage: xlink your_file(s) -f msp430F437C
//
//  The following segments are used by the compiler:
//
//  Data read/write segments (RAM)
//  ==============================
//  segment     address range   max size        usage (compiler option)
//  -------     -------------   --------        --------------------------
//  UDATA0      0200-05FF       1 Kbytes        Uninitialized variables
//  IDATA0      0200-05FF       1 Kbytes        Initialized variables
//  CSTACK      0200-05FF       1 Kbytes        Run-time stack/auto variables
//  ECSTR       0200-05FF       1 Kbytes        Writeable string literals (-y)
//
//  Program and non-volatile segments (FLASH)
//  =========================================
//  segment     address range   max size        usage (compiler option)
//  -------     -------------   --------        --------------------------
//  INFO        1000-10FF       256 bytes       Information memory
//  CODE        8000-FFDF       <32 Kbytes      Program code
//  CONST       8000-FFDF       <32 Kbytes      Constant "const" variables
//  CSTR        8000-FFDF       <32 Kbytes      String literals (not -y)
//  CDATA0      8000-FFDF       <32 Kbytes      Initializers for IDATA0
//  CCSTR       8000-FFDF       <32 Kbytes      Initializers for ECSTR (-y)
//  INTVEC      FFE0-FFFF       32 bytes        Interrupt vectors (-e)
//
//  Note:
//  Option -y stores strings in ECSTR (init value in CCSTR) instead of CSTR,
//  Option -e enables language extensions
//  Special function registers and peripheral modules occupy addresses 0-01FFh
//
//
//  Define CPU

-cMSP430

//  RAM
//  Note: The stack is allocated from the top of RAM downward

-Z(DATA)UDATA0,IDATA0,ECSTR=0200-05FF
-Z(DATA)CSTACK#0200-0600

//  Information memory (FLASH)

-Z(CODE)INFO=1000-10FF
-Z(CODE)INFOA=1080-10FF
-Z(CODE)INFOB=1000-107F

//  Main memory (FLASH)

-Z(CODE)CODE,CONST,CSTR,CDATA0,CCSTR=8000-FFDF

//  Interrupt vectors (FLASH)

-Z(CODE)INTVEC=FFE0-FFFF

//  See configuration section concerning printf/sprintf
-e_small_write=_formatted_write

//  See configuration section concerning scanf/sscanf
-e_medium_read=_formatted_read

//  Load the C library
cl430ks.r43

⌨️ 快捷键说明

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