Files
hpw421/project/example/driver/spi_dma_slave/mdk/Linker/cpu.scat
T
2026-06-06 16:49:48 +08:00

132 lines
2.3 KiB
Plaintext

;;;
;;;
;;LOAD 0x10000000
;;{
;;EXE 0x10000000
;;{
;;startup_xinc.o (RESET, +FIRST)
;;* (+RO)
;;}
;;; L2CAP_CODE +0
;;; {
;;; * (l2cap_code)
;;; }
;;; GATT_CODE +0
;;; {
;;; * (gatt_code)
;;; }
;;; GAP_CODE +0
;;; {
;;; * (gap_code)
;;; }
;;; LLC_CODE +0
;;; {
;;; * (llc_code)
;;; }
;;; LLD_CODE +0
;;; {
;;; * (lld_code)
;;; }
;;;
;;; LLM_CODE +0
;;; {
;;; * (llm_code)
;;; }
;;; ECC_CODE +0
;;; {
;;; * (ecc_code)
;;; }
;;RW +0000
;;{
;;* (+RW,+ZI)
;;}
;;; KE_CODE +0
;;; {
;;; *(ke_code)
;;;
;;; }
;;; AES_CODE +0
;;; {
;;; * (aes_code)
;;; }
;;; CO_CODE +0
;;; {
;;; * (co_code)
;;; }
;;;
;;; NVDS_CODE +0
;;; {
;;; * (nvds_code)
;;; }
;;;
;;; SCH_CODE +0
;;; {
;;; * (sch_code)
;;; }
;;; LL_CO_CODE +0
;;; {
;;; * (ll_co_code)
;;; }
;;ScatterAssert(ImageLength(RW) < 1024 * 28)
;;;
;;;
;;; ScatterAssert(ImageLength(KE_CODE) < 100)
;;; ScatterAssert(ImageLength(ECC_CODE) < 0x100)
;;; ScatterAssert(ImageLength(AES_CODE) < 0x10)
;;; ScatterAssert(ImageLength(CO_CODE) < 0x100)
;;; ScatterAssert(ImageLength(NVDS_CODE) < 0x100)
;;; ScatterAssert(ImageLength(GAP_CODE) < 0x100)
;;; ScatterAssert(ImageLength(GATT_CODE) < 0x100)
;;; ScatterAssert(ImageLength(L2CAP_CODE) < 0x100)
;;; ScatterAssert(ImageLength(SCH_CODE) < 0x100)
;;; ScatterAssert(ImageLength(LL_CO_CODE) < 0x100)
;;; ScatterAssert(ImageLength(LLC_CODE) < 0x110)
;;; ScatterAssert(ImageLength(LLD_CODE) < 0x1210)
;;; ScatterAssert(ImageLength(LLM_CODE) < 0x910)
;;; ScatterAssert(ImageLength(EXE)+ ImageLength(RW) + ImageLength(KE_CODE) + ImageLength(ECC_CODE) + ImageLength(AES_CODE)
;;; + ImageLength(CO_CODE)+ ImageLength(NVDS_CODE)+ ImageLength(GAP_CODE)+ ImageLength(GATT_CODE)
;;; + ImageLength(L2CAP_CODE)+ ImageLength(SCH_CODE)+ ImageLength(LL_CO_CODE)+ ImageLength(LLC_CODE)
;;; + ImageLength(LLD_CODE)+ ImageLength(LLM_CODE)< 96*1024)
;;}
LOAD 0x10000000
{
EXE 0x10000000
{
startup_xinc.o (RESET, +FIRST)
* (+RO)
}
RW +0000
{
* (+RW,+ZI)
}
ScatterAssert(ImageLength(RW) < 1024 * 28)
}
;LOAD 0x11001000
;{
;EXE 0x11001000
;{
;startup_xinc.o (RESET, +FIRST)
;* (+RO)
;}
;RW 0x10002000
;{
;* (+RW,+ZI)
;*(ram_code)
;}
;}