debug_in_ram.scf

来自「利用微處理器LPC2132去驅動LCD 128*64」· SCF 代码 · 共 42 行

SCF
42
字号
;;; Copyright ARM Ltd 2002. All rights reserved.

;; Embedded scatter file
;; Stack and Heap are located in the SRAM


ROM_LOAD 0x40000000  
{
    ROM_EXEC 0x40000000
    {
        vectors.o (Vect, +First)
        init.o 
        __main.o                         ; C Library entry point, must be in a root region
        *  (Region$$Table)               ; this section must be in a root region 
        *  (ZISection$$Table)            ; this section must be in a root region
        * (+RO)
    }

    SRAM 0x40003000                   
    {                                    
       
        * (+RW, +ZI)                ; any remaining code inc C lib.
    }

    HEAP +0 UNINIT
    {
        stackheap.o (heap)
    }
     
    STACK 0x40004000 UNINIT                 
    {
        stackheap.o (stacks)
    }
    
   
}

;if the cpu type is lpc2132

;STACK_START_ADDR EQU     0x40004000   ;16K lpc2132
;STACK_START_ADDR EQU     0x40008000   ;32K lpc2105

⌨️ 快捷键说明

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