2020-06-20 14:08:14 +08:00
|
|
|
; *************************************************************
|
|
|
|
; *** Scatter-Loading Description ***
|
|
|
|
; *************************************************************
|
|
|
|
|
|
|
|
LR_VECTORS 0x00000000 0x00000400 { ; load region size_region
|
|
|
|
.isr_vector +0 {
|
|
|
|
startup*.o (RESET, +First)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-17 09:27:19 +08:00
|
|
|
LR_IROM1 0x10000000 0x00030000 { ; load region size_region
|
|
|
|
ER_IROM1 0x10000000 0x00030000 { ; load address = execution address
|
2020-06-20 14:08:14 +08:00
|
|
|
*(InRoot$$Sections)
|
|
|
|
.ANY (+RO)
|
|
|
|
.ANY (+XO)
|
|
|
|
}
|
2020-12-17 09:27:19 +08:00
|
|
|
RW_IRAM1 0x10030000 0x00010000 { ; RW data
|
2020-06-20 14:08:14 +08:00
|
|
|
.ANY (+RW +ZI)
|
|
|
|
}
|
2020-12-17 09:27:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
; ***** Create region for OPENAMP *****
|
|
|
|
; *** These 4 lines can be commented if OPENAMP is not used *****
|
2020-06-20 14:08:14 +08:00
|
|
|
.resource_table +0 ALIGN 4 { ; resource table
|
|
|
|
*(.resource_table)
|
2020-12-17 09:27:19 +08:00
|
|
|
} __OpenAMP_SHMEM__ 0x10040000 EMPTY 0x8000 {} ; Shared Memory area used by OpenAMP
|
2020-06-20 14:08:14 +08:00
|
|
|
}
|