scat_a.txt

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

TXT
40
字号
;;; Copyright ARM Ltd 2002. All rights reserved.

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


ROM_LOAD 0x20000
{
    ROM_EXEC 0x20000
    {
        initTCM.o (Init946TCM, +FIRST)   ; Core initialisation inc TCM enable
        initMPU.o (InitMPU)
        * (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 0x7F00                   ; built at 0x100 to avoid vector space
    {                                    ; assumes 32K I-TCM
        dhry_1.o (+RO)
        dhry_2.o (+RO)
        * (+RO)                          ; any remaining code inc C lib.
    }

    D-TCM 0x10000
    {
        dtcm.o (DTCM, +FIRST)            ; place the data tcm at this address
        * (+RW,+ZI)                      ; places all image RW and ZI data at this address
    }

    HEAP +0 EMPTY 0x1000                 ; depending on application heap
    {                                    ; requirement, select size appropriately.
    }

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

⌨️ 快捷键说明

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