summaryrefslogtreecommitdiff
path: root/bsp/stm32/stm32mp157a-st-ev1/board/linker_scripts/link.sct
blob: 5cbf7d39430fd2c6880656652b83e1334a522df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; *************************************************************
; *** Scatter-Loading Description                           ***
; *************************************************************

LR_VECTORS 0x00000000 0x00000400  {    ; load region size_region
  .isr_vector +0 {
    startup*.o (RESET, +First)
  }
}

LR_IROM1 0x10000000 0x00030000  {      ; load region size_region
  ER_IROM1 0x10000000 0x00030000  {    ; load address = execution address
    *(InRoot$$Sections)
    .ANY (+RO)
    .ANY (+XO)
  }
  RW_IRAM1 0x10030000 0x00010000  {    ; RW data
    .ANY (+RW +ZI)
  }


; *****   Create region for OPENAMP                               *****
; ***     These 4 lines can be commented if OPENAMP is not used     *****
  .resource_table +0 ALIGN 4 {         ; resource table
    *(.resource_table)
  }  __OpenAMP_SHMEM__ 0x10040000 EMPTY 0x8000 {} ; Shared Memory area used by OpenAMP
}