source: rtems/c/src/lib/libbsp/arm/atsam/startup/linkcmds.memory.in @ 891fa3e

5
Last change on this file since 891fa3e was 891fa3e, checked in by Alexander Krutwig <alexander.krutwig@…>, on 06/28/16 at 08:47:15

bsp/atsam: Add support for TCM

  • Property mode set to 100644
File size: 1.6 KB
Line 
1MEMORY {
2        ITCM      : ORIGIN = 0x00000000, LENGTH = @ATSAM_MEMORY_TCM_SIZE@
3        INTFLASH  : ORIGIN = 0x00400000, LENGTH = @ATSAM_MEMORY_INTFLASH_SIZE@
4        DTCM      : ORIGIN = 0x20000000, LENGTH = @ATSAM_MEMORY_TCM_SIZE@
5        INTSRAM   : ORIGIN = 0x20400000, LENGTH = @ATSAM_MEMORY_INTSRAM_SIZE@ - 2 * @ATSAM_MEMORY_TCM_SIZE@ - 4K
6        NOCACHE   : ORIGIN = 0x20400000 + @ATSAM_MEMORY_INTSRAM_SIZE@ - 2 * @ATSAM_MEMORY_TCM_SIZE@ - 4K, LENGTH = 4K
7        SDRAM     : ORIGIN = 0x70000000, LENGTH = @ATSAM_MEMORY_SDRAM_SIZE@
8        QSPIFLASH  : ORIGIN = 0x80000000, LENGTH = @ATSAM_MEMORY_QSPIFLASH_SIZE@
9}
10
11atsam_memory_itcm_begin = ORIGIN (ITCM);
12atsam_memory_itcm_end = ORIGIN (ITCM) + LENGTH (ITCM);
13atsam_memory_itcm_size = LENGTH (ITCM);
14
15atsam_memory_intflash_begin = ORIGIN (INTFLASH);
16atsam_memory_intflash_end = ORIGIN (INTFLASH) + LENGTH (INTFLASH);
17atsam_memory_intflash_size = LENGTH (INTFLASH);
18
19atsam_memory_dtcm_begin = ORIGIN (DTCM);
20atsam_memory_dtcm_end = ORIGIN (DTCM) + LENGTH (DTCM);
21atsam_memory_dtcm_size = LENGTH (DTCM);
22
23atsam_memory_intsram_begin = ORIGIN (INTSRAM);
24atsam_memory_intsram_end = ORIGIN (INTSRAM) + LENGTH (INTSRAM);
25atsam_memory_intsram_size = LENGTH (INTSRAM);
26
27atsam_memory_nocache_begin = ORIGIN (NOCACHE);
28atsam_memory_nocache_end = ORIGIN (NOCACHE) + LENGTH (NOCACHE);
29atsam_memory_nocache_size = LENGTH (NOCACHE);
30
31atsam_memory_sdram_begin = ORIGIN (SDRAM);
32atsam_memory_sdram_end = ORIGIN (SDRAM) + LENGTH (SDRAM);
33atsam_memory_sdram_size = LENGTH (SDRAM);
34
35atsam_memory_qspiflash_begin = ORIGIN (QSPIFLASH);
36atsam_memory_qspiflash_end = ORIGIN (QSPIFLASH) + LENGTH (QSPIFLASH);
37atsam_memory_qspiflash_size = LENGTH (QSPIFLASH);
Note: See TracBrowser for help on using the repository browser.