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

📄 demo.spc

📁 Nucleus实时操作系统是Accelerater Technology公司开发的嵌入式RTOS产品,Nucleus的核心是一个实时的多任务内核——Nucleus PLUS
💻 SPC
字号:
/* Example specification file for Nucleus PLUS and CrossCode on a mythical
   68030 Evaluation Board.  This file is designed for all sections
   to be loaded into RAM.  See CrossCode documentation for details on
   ROM linker specification files.  Note:  Nucleus PLUS defines several
   new sections.  */

partition { overlay {
   
    /* ROM sections follow:  */

    /* CrossCode reset vectors.  */
    region {} reset;

    /* Nucleus PLUS interrupt vector assignments.  */
    region {} vectors;

    region {} init;

    region {} exit;

    /* Instruction area.  */
    region {} code[align=4];

    /* Constant data area.  */
    region {} const[align=4];

    /* Constant string area.  */
    region {} string[align=4, roundsize=4];

    /* Start of ROM copy of RAM data section.  In RAM model, DATA is 
       defined as the same address as the RAM data section.  */
    DATA =  $;


    /* RAM sections follow:  */

    /* Initialized data section.  */
    region {} data[align=4];

    /* Uninitialized data section.  */
    region {} ram[align=4];

    /* Section that defines RAM available for malloc */
    region {} malloc[align=4,size=500]; 

    /* Section that defines RAM available for system stack.  */        
    region {} stack[align=4,size=500,roundsize=4];

    /* Initial stack pointer.  */
    STKTOP =  $;

    /* Section that marks the beginning of available
       memory for Nucleus PLUS.  */
    region {} sys_memory[align=4];  

} example; } RAM[addr=0x4000];
    

⌨️ 快捷键说明

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