📄 pmsm.cmd
字号:
/*------------------------------------------------------------------*/
/* Memory Specifications */
/*------------------------------------------------------------------*/
MEMORY
{
PAGE 0: VECS: o=0000h, l=0040h /* reset&int vectors */
/*PROG: o=0040h, l=07fc0h /* 32K prog space*/
/*PROG: o=0040h, l=03fc0h /* 16K prog space*/
/*PROG: o=0040h, l=01FC0h /* 8K prog space*/
PROG: o=0060h, l=00FC0h /* 4K prog space*/
B0: o=0FF00h, l=0100h /* when CNF=1 */
PAGE 1: MMRS: o=0000h, l=005Fh /* MMRS */
B2: o=0060h, l=0020h /* DARAM B2 */
B0B1: o=0200h, l=0200h /* DARAM B0+B1 */
}
/*----------------------------------------------------------------*/
/* SECTIONS ALLOCATION */
/*----------------------------------------------------------------*/
SECTIONS
{
/* Program sections */
vectors: { } > VECS PAGE 0 /* Res/int vectors */
.text: { } > PROG PAGE 0 /* Code */
.data: { } > PROG PAGE 0 /* Init tables */
/* Variable sections */
.mmrs: { } > MMRS PAGE 1 /* Memory Mapped Regs */
.bss block(0x80) { } > B0B1 PAGE 1 /* .bss variables */
lcd block(0x80) { } > B0B1 PAGE 1 /* filter variables */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -