?? link.cmd
字號:
/*----------------------------------------------------------------------*/
/* LINKER COMMAND FILE - MEMORY SPECIFICATION for C240 */
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/* LINKER DIRECTIVES */
/*----------------------------------------------------------------------*/
-c /* link using C conventions */
-stack 0x20 /* stack size */
-x /* force rereading of libraries to */
/* resolve back regerences */
-lrts2xx.lib /* run-time support - stack model */
-iencoder\lib
-lencoder.lib /* encoder support */
-irs232\lib
-lrs232.lib /* rs232 terminal handler */
/* specify map & output file name */
-m main.map
-o main.out
/*-----------------------------------------------------------------------*/
/* MEMORY ALLOCATION */
/*-----------------------------------------------------------------------*/
MEMORY
{
PAGE 0 : VECS : origin = 0h , length = 040h /* FLASH */
FLASHL : origin = 40h , length = 1FC0h /* FLASH */
FLASHH : origin = 2000h , length = 2000h /* FLASH */
B0 : origin = 0FF00h, length = 100h /* DARAM */
PAGE 1 : B2 : origin = 0060h , length = 020h /* DARAM */
B0 : origin = 0200h , length = 100h /* DARAM */
B1 : origin = 0300h , length = 100h /* DARAM */
DSRAM : origin = 0C000h , length = 4000h /* DARAM */
}
/*--------------------------------------------------------------------------*/
/* SECTIONS ALLOCATION */
/*--------------------------------------------------------------------------*/
SECTIONS
{
vectors : {} > VECS PAGE 0 /* int. vectors */
.text : {} > FLASHL PAGE 0 /* code */
.switch : {} > FLASHL PAGE 0 /* switch, case */
.cinit : {} > FLASHL PAGE 0 /* init. tables */
.text : {
monitor.obj (.text)
rs232\lib\rs232.lib (.text)
} > FLASHH PAGE 0
.const : {
monitor.obj (.const)
rs232\lib\rs232.lib (.const) /* strings in flash */
} > FLASHH PAGE 0
evm_qep : {} > B0 PAGE 1
.bss: : {} > B0 PAGE 1
.const : {} > B0 PAGE 1 /* other 'C' language constants */
.stack: : {} > B1 PAGE 1 /* system stack */
.sysmem : {} > B1 PAGE 1
buffer : {} > B2 PAGE 1
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -