📄 p&e_fcs_linker.prm
字号:
/* 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. */
SEGMENTS /* 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;
//OSVECTORS = READ_ONLY 0xFFCC TO 0xFFFF; /* OSEK interrupt vectors (use your vector.o) */
END
PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS defined above. */
//.ostext, /* OSEK */
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;
//VECTORS_DATA INTO OSVECTORS; /* OSEK */
END
ENTRIES /* keep the following unreferenced variables */
//_vectab OsBuildNumber /* OSEK */
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 initialization entry point */
//VECTOR 1 Motor_Fault
VECTOR 2 Power
VECTOR 4 Speed_Down
VECTOR 6 Speed_Up
VECTOR 7 Motor1_Right
VECTOR 8 Motor2_Right
VECTOR 9 Motor_Left
VECTOR 15 Motor_Select
VECTOR 16 Sample_Data
VECTOR 17 Access_VFD
VECTOR 22 Motor3_Right
VECTOR 23 Motor4_Right
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -