Back to home page

LXR

 
 

    


Warning, /spec/build/bsps/arm/atsam/linkcmds.yml is written in an unsupported language. File is not indexed.

0001 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
0002 build-type: config-file
0003 content: |
0004   MEMORY {
0005     NULL      : ORIGIN = 0x00000000, LENGTH = ${ATSAM_MEMORY_NULL_SIZE}
0006     ITCM      : ORIGIN = ${ATSAM_MEMORY_NULL_SIZE}, LENGTH = ((${ATSAM_MEMORY_TCM_SIZE} > ${ATSAM_MEMORY_NULL_SIZE}) ? (${ATSAM_MEMORY_TCM_SIZE} - ${ATSAM_MEMORY_NULL_SIZE}) : 0)
0007     INTFLASH  : ORIGIN = 0x00400000, LENGTH = ${ATSAM_MEMORY_INTFLASH_SIZE}
0008     DTCM      : ORIGIN = 0x20000000, LENGTH = ${ATSAM_MEMORY_TCM_SIZE}
0009     INTSRAM   : ORIGIN = 0x20400000, LENGTH = ${ATSAM_MEMORY_INTSRAM_SIZE} - 2 * ${ATSAM_MEMORY_TCM_SIZE} - ${ATSAM_MEMORY_NOCACHE_SIZE}
0010     NOCACHE   : ORIGIN = 0x20400000 + ${ATSAM_MEMORY_INTSRAM_SIZE} - 2 * ${ATSAM_MEMORY_TCM_SIZE} - ${ATSAM_MEMORY_NOCACHE_SIZE}, LENGTH = ${ATSAM_MEMORY_NOCACHE_SIZE}
0011     SDRAM     : ORIGIN = 0x70000000, LENGTH = ${ATSAM_MEMORY_SDRAM_SIZE}
0012     QSPIFLASH  : ORIGIN = 0x80000000, LENGTH = ${ATSAM_MEMORY_QSPIFLASH_SIZE}
0013   }
0014 
0015   /* Must be used only for MPU definitions */
0016 
0017   atsam_memory_null_begin = ORIGIN (NULL);
0018   atsam_memory_null_end = ORIGIN (NULL) + LENGTH (NULL);
0019   atsam_memory_null_size = LENGTH (NULL);
0020 
0021   atsam_memory_itcm_begin = ORIGIN (ITCM);
0022   atsam_memory_itcm_end = ORIGIN (ITCM) + LENGTH (ITCM);
0023   atsam_memory_itcm_size = LENGTH (ITCM);
0024 
0025   atsam_memory_intflash_begin = ORIGIN (INTFLASH);
0026   atsam_memory_intflash_end = ORIGIN (INTFLASH) + LENGTH (INTFLASH);
0027   atsam_memory_intflash_size = LENGTH (INTFLASH);
0028 
0029   atsam_memory_dtcm_begin = ORIGIN (DTCM);
0030   atsam_memory_dtcm_end = ORIGIN (DTCM) + LENGTH (DTCM);
0031   atsam_memory_dtcm_size = LENGTH (DTCM);
0032 
0033   atsam_memory_intsram_begin = ORIGIN (INTSRAM);
0034   atsam_memory_intsram_end = ORIGIN (INTSRAM) + LENGTH (INTSRAM);
0035   atsam_memory_intsram_size = LENGTH (INTSRAM);
0036 
0037   atsam_memory_nocache_begin = ORIGIN (NOCACHE);
0038   atsam_memory_nocache_end = ORIGIN (NOCACHE) + LENGTH (NOCACHE);
0039   atsam_memory_nocache_size = LENGTH (NOCACHE);
0040 
0041   atsam_memory_sdram_begin = ORIGIN (SDRAM);
0042   atsam_memory_sdram_end = ORIGIN (SDRAM) + LENGTH (SDRAM);
0043   atsam_memory_sdram_size = LENGTH (SDRAM);
0044 
0045   atsam_memory_qspiflash_begin = ORIGIN (QSPIFLASH);
0046   atsam_memory_qspiflash_end = ORIGIN (QSPIFLASH) + LENGTH (QSPIFLASH);
0047   atsam_memory_qspiflash_size = LENGTH (QSPIFLASH);
0048 copyrights:
0049 - Copyright (C) 2020 embedded brains GmbH & Co. KG
0050 enabled-by: true
0051 install-path: ${BSP_LIBDIR}
0052 links: []
0053 target: linkcmds.memory
0054 type: build