scat_a.scf
来自「arm7的源代码」· SCF 代码 · 共 51 行
SCF
51 行
;;; 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 (Init926TCM, +FIRST) ; 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
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)
}
HEAP +0 UNINIT ; heap follows direcly from image global data
{
heap.o (+ZI)
}
STACKS 0x18000 UNINIT ; assume 32KB data D-TCM
{
stack.o (+ZI)
}
TTB 0x28000 UNINIT ; place translation table at 0x28000
{
TTB.o (+ZI)
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?