embedded_scat.scf

来自「ADS1.2 samples」· SCF 代码 · 共 31 行

SCF
31
字号
;;; 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
	__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
    }

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

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

⌨️ 快捷键说明

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