link.sct 904 B

123456789101112131415161718192021222324252627
  1. ; *************************************************************
  2. ; *** Scatter-Loading Description ***
  3. ; *************************************************************
  4. LR_VECTORS 0x00000000 0x00000400 { ; load region size_region
  5. .isr_vector +0 {
  6. startup*.o (RESET, +First)
  7. }
  8. }
  9. LR_IROM1 0x10000000 0x00030000 { ; load region size_region
  10. ER_IROM1 0x10000000 0x00030000 { ; load address = execution address
  11. *(InRoot$$Sections)
  12. .ANY (+RO)
  13. .ANY (+XO)
  14. }
  15. RW_IRAM1 0x10030000 0x00010000 { ; RW data
  16. .ANY (+RW +ZI)
  17. }
  18. ; ***** Create region for OPENAMP *****
  19. ; *** These 4 lines can be commented if OPENAMP is not used *****
  20. .resource_table +0 ALIGN 4 { ; resource table
  21. *(.resource_table)
  22. } __OpenAMP_SHMEM__ 0x10040000 EMPTY 0x8000 {} ; Shared Memory area used by OpenAMP
  23. }