📄 f2407.cmd
字号:
/******************************************************************************/
/* File Name: 2407_PM.cmd */
/* Description: Linker command file to place user code (vectors & .text) */
/* sections beginning at 0000h of external program memory (in MP mode). */
/* This file should be modified if it is desired to load code in B0 memory or */
/* if on–chip SARAM is to be used. This example file is applicable for 2407A. */
/* It needs to be modified to make it suitable for other devices. */
/******************************************************************************/
-c
-o Pendulum_rotary.out /* Name the output file */
-m Pendulum_rotary.map /* Create an output map */
MEMORY
{
PAGE 0: /* PROGRAM MEMORY */
PM :ORIGIN=0000H , LENGTH=044H /* 32K On–chip flash memory */
EX1_PM :ORIGIN=0050H, LENGTH=7800H /* External RAM */
/* B0_PM :ORIGIN=0FF00h, LENGTH=0100h /* On–chip DARAM if CNF=1, else */
/* external */
/* B0 = FF00 to FFFF */
PAGE 1: /* DATA MEMORY */
/* REGS :ORIGIN=0h , LENGTH=60h /* Memory mapped regs & reservd address*/
/* BLK_B2 :ORIGIN=60h , LENGTH=20h /* Block B2 */
/* BLK_B0 :ORIGIN=200h , LENGTH=100h /* Block B0, On–chip DARAM if CNF=0 */
/* BLK_B1 :ORIGIN=300h , LENGTH=100h /* Block B1 */
/* SARAM_D :ORIGIN=0800H , LENGTH=0800H /* 2K SARAM in data space */
/* PERIPH :ORIGIN=7000h , LENGTH=1000h /* Peripheral register space */
EX2_DM :ORIGIN=08000H , LENGTH=8000H /* External data RAM */
PAGE 2: /* I/O MEMORY */
IO_EX :ORIGIN=0000h , LENGTH=0FFF0h /* External I/O mapped peripherals */
/*IO_IN :ORIGIN=0FFF0h, LENGTH=0Fh */ /* On–chip I/O mapped peripherals */
}
SECTIONS
{
vectors: {} >PM PAGE 0
.text :{} > EX1_PM PAGE 0
.bss :{} > EX2_DM PAGE 1 /*EX2_DM PAGE 1*/
.data :{} > EX2_DM PAGE 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -