scat_a.scf

来自「arm7的源代码」· SCF 代码 · 共 44 行

SCF
44
字号
;;; Copyright ARM Ltd 2001. All rights reserved.

;; Semihosting scatter file
;; Stack and Heap are located in the D-TCM
 


ROM_LOAD 0x10800000                      ; needs to be above 966 TCM memory
{
    ROM_EXEC 0x10800000              
    {
        initTCM.o (Init966TCM, +FIRST)   ; Core initialisation inc TCM enable
        __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
        retarget.o (+RO)
    }

    I-TCM 0x100 0x10000                  ; built at 0x100 to avoid vector space
    {                                    ; assumes 64K I-TCM     
        dhry_1.o (+RO)
        dhry_2.o (+RO)
        * (+RO)                          ; any remaining code inc C lib.
    }


    D-TCM 0x04000000                     ; beginning of data TCM at 64MB
    {
        * (+RW,+ZI)
    }

    HEAP +0 UNINIT
    {
        heap.o (+ZI)
    }

    STACKS 0x04010000 UNINIT             ; assume 64KB data D-TCM
    {
        stack.o (+ZI)
    }

}

⌨️ 快捷键说明

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