final_scat.scat

来自「realview22.rar」· SCAT 代码 · 共 61 行

SCAT
61
字号
;;; Copyright ARM Ltd 2002. All rights reserved.

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


ROM_LOAD 0x24000000 0x04000000
{
    ROM_EXEC 0x24000000 0x04000000
    {
        init.o (Init, +FIRST)            ; Initialization code
        initTCM.o                        ; Initialise TCMs
        initMMU.o                        ; Create Translation Table
        * (InRoot$$Sections)             ; All library sections that must be in a root region
                                         ; e.g. __main.o, __scatter*.o, * (Region$$Table)
    }

    I-TCM 0x0000 0x8000                  
    {                                    ; assumes 32K I-TCM
        vectors.o (Vect, +FIRST)
        * (+RO)                          ; any remaining code inc C lib.
    }

    D-TCM 0x10000 
    {
        * (+RW,+ZI)
    }

    HEAP +0 EMPTY 0x3000
    {

    }
    
    STACKS 0x1B000 EMPTY -0x3000           ; assume 32KB data D-TCM
    {

    }
    
    TTB 0x28000 UNINIT                    ; place translation table at 0x28000
    {
        TTB.o (+ZI)
    }
    

    Timer1 0x13000100 UNINIT
    {
        timer.o (+ZI)
    }

    IRQ0 0x14000000 UNINIT
    {
        irq.o (+ZI)
    }
    
    UART0 0x16000000 UNINIT
    {
        uart.o (+ZI)
    }
}

⌨️ 快捷键说明

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