📄 canc.cmd
字号:
/*-------------------------------------------------*/
/*命令文件-存储空间F2407*/
/*-------------------------------------------------*/
MEMORY
{
PAGE 0: VECS : origin=0h, length=40h /*程序复位*/
PVECS : origin=40h, length=70h /* 外围模块中断向量*/
PROG : origin=0b0h, length=7F50h /*在片FLASH*/
PAGE 1:MMRS: origin=0h, length=05Fh /*MMRS*/
B2: origin=0060h, length=020h /*DARAM B2块*/
B0: origin=0200h, length=100h /*DARAM B0块*/
B1: origin=0300h, length=100h /*DARAM B1块*/
SARAM: origin=0800h, length=0800h /*SARAM块*/
EXT: origin=8000h, length=8000h /*外部存储器*/
}
/*---------------------------*/
/*SECTIONS ALLOCATION*/
/*---------------------------*/
SECTIONS
{
.reset: {}>VECS PAGE 0 /* 复位中断向量表*/
.vectors: {}>VECS PAGE 0 /* 中断向量表*/
.pvecs: {}>PVECS PAGE 0 /*外围模块中断向量表 */
.text: {}>PROG PAGE 0 /*代码*/
.cinit: {}>PROG PAGE 0
.bss: {}>SARAM PAGE 1 /*块B2*/
.const: {}>SARAM PAGE 1 /*块B2*/
.stack: {}>B1 PAGE 1 /*堆栈-40个单元*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -