p&e_icd_linker.prm

来自「MC68HC908GR60A LIN-BUS源码(编译环境:CodeWarrio」· PRM 代码 · 共 24 行

PRM
24
字号
/* This is a linker parameter file for the GZ60 */
NAMES END /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your own files too. */ 
           
SECTIONS /* here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */
  Z_RAM  = READ_WRITE 0x0040 TO 0x00EF;
  RAM1   = READ_WRITE 0x0100 TO 0x043F; 
  RAM2   = READ_WRITE 0x0580 TO 0x097F;
  ROM1   = READ_ONLY  0x0462 TO 0x04FF;
  ROM2   = READ_ONLY  0x0980 TO 0x1B7F;
  ROM3   = READ_ONLY  0x1E20 TO 0xFDFF;
END

PLACEMENT /* here all predefined and user segments are placed into the SECTIONS defined above. */
  DEFAULT_ROM                   INTO /*ROM1, ROM2,*/ ROM3;  /* in case you want to use ROM1/ROM2 here as well, add option -OnB=b to the compiler. */
  DEFAULT_RAM                   INTO RAM1, RAM2;
  _DATA_ZEROPAGE, MY_ZEROPAGE   INTO Z_RAM;
END

STACKSIZE 0x50

VECTOR 0 _Startup /* reset vector: this is the default entry point for a C/C++ application. */
//VECTOR 0 Entry  /* reset vector: this is the default entry point for a Assembly application. */
//INIT Entry      /* for assembly applications: that this is as well the initialisation entry point */

⌨️ 快捷键说明

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