scat_a.txt

来自「realview22.rar」· 文本 代码 · 共 37 行

TXT
37
字号
;;; 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
        * (InRoot$$Sections)             ; All library sections that must be in a root region
                                         ; e.g. __main.o, __scatter*.o, * (Region$$Table)        
        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 EMPTY 0x1000                 ; depending on application heap
    {                                    ; requirement, select size appropriately.
    }

    STACKS 0x04010000 EMPTY -0x1000      ; depending on application stack
    {                                    ; requirement, select size appropriately.
    }
}

⌨️ 快捷键说明

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