1 | MEMORY { |
---|
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@ - @ATSAM_MEMORY_NOCACHE_SIZE@ |
---|
6 | NOCACHE : ORIGIN = 0x20400000 + @ATSAM_MEMORY_INTSRAM_SIZE@ - 2 * @ATSAM_MEMORY_TCM_SIZE@ - @ATSAM_MEMORY_NOCACHE_SIZE@, LENGTH = @ATSAM_MEMORY_NOCACHE_SIZE@ |
---|
7 | SDRAM : ORIGIN = 0x70000000, LENGTH = @ATSAM_MEMORY_SDRAM_SIZE@ |
---|
8 | QSPIFLASH : ORIGIN = 0x80000000, LENGTH = @ATSAM_MEMORY_QSPIFLASH_SIZE@ |
---|
9 | } |
---|
10 | |
---|
11 | atsam_memory_itcm_begin = ORIGIN (ITCM); |
---|
12 | atsam_memory_itcm_end = ORIGIN (ITCM) + LENGTH (ITCM); |
---|
13 | atsam_memory_itcm_size = LENGTH (ITCM); |
---|
14 | |
---|
15 | atsam_memory_intflash_begin = ORIGIN (INTFLASH); |
---|
16 | atsam_memory_intflash_end = ORIGIN (INTFLASH) + LENGTH (INTFLASH); |
---|
17 | atsam_memory_intflash_size = LENGTH (INTFLASH); |
---|
18 | |
---|
19 | atsam_memory_dtcm_begin = ORIGIN (DTCM); |
---|
20 | atsam_memory_dtcm_end = ORIGIN (DTCM) + LENGTH (DTCM); |
---|
21 | atsam_memory_dtcm_size = LENGTH (DTCM); |
---|
22 | |
---|
23 | atsam_memory_intsram_begin = ORIGIN (INTSRAM); |
---|
24 | atsam_memory_intsram_end = ORIGIN (INTSRAM) + LENGTH (INTSRAM); |
---|
25 | atsam_memory_intsram_size = LENGTH (INTSRAM); |
---|
26 | |
---|
27 | atsam_memory_nocache_begin = ORIGIN (NOCACHE); |
---|
28 | atsam_memory_nocache_end = ORIGIN (NOCACHE) + LENGTH (NOCACHE); |
---|
29 | atsam_memory_nocache_size = LENGTH (NOCACHE); |
---|
30 | |
---|
31 | atsam_memory_sdram_begin = ORIGIN (SDRAM); |
---|
32 | atsam_memory_sdram_end = ORIGIN (SDRAM) + LENGTH (SDRAM); |
---|
33 | atsam_memory_sdram_size = LENGTH (SDRAM); |
---|
34 | |
---|
35 | atsam_memory_qspiflash_begin = ORIGIN (QSPIFLASH); |
---|
36 | atsam_memory_qspiflash_end = ORIGIN (QSPIFLASH) + LENGTH (QSPIFLASH); |
---|
37 | atsam_memory_qspiflash_size = LENGTH (QSPIFLASH); |
---|