⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 link.spc.svn-base

📁 给MOTO 360 单片机 开发的MODBUS协议 直流奥特寻协议。。要用SDS编译
💻 SVN-BASE
字号:
/************************************************************************
	Example specification file for the 68000 family.  This example
	assumes ROM is at address 0x0000 and RAM is at address 0xC000.
	Region "data" (which contains initialized RAM variables) must
	be linked into RAM to give the variables their correct addresses,
	but will be downloaded into ROM at location DATA using downloader
	option "-m data,DATA".  Startup code will copy it from location
	DATA back into RAM.
************************************************************************/
partition { overlay {
    region {} reset[addr=0];		/* reset vector */
    region {} vects[addr=8,size=0x1000];		/* other vectors */
    region {} code;			/* executable code */
    region {} init;			/* pointers to C++ init thunks */
    region {} exit;			/* pointers to C++ exit thunks */
    region {} const;			/* constant data */
    region {} string;			/* constant strings */
    DATA = $;				/* where to download region data */
} o1; } ROM[addr=0x00000000];     /*DRAM:0x00400000*/
                        
partition { overlay {   
    region {} data[roundsize=4];	/* RAM to be initialized on reset */
    region {} ram[roundsize=4];		/* RAM to be zeroed on reset */
    region {} malloc[size=0x40000];	/* RAM available to malloc() */
    region {} stack[size=0x10000];	/* stack of at least 0x2000 bytes */
    STKTOP = $;				/* stack pointer reset value */
} o2; } RAM[addr=0x00430000];    /*DRAM:0x00400000 0x101000*/

partition { overlay {   
	region {} DPram[addr=0,size=0x1000];
	region {} DPsem[addr=0x1000,size=8];
} o3; } DPRAM[addr=0x00500000];

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -