Adjust the variable name &

Add mapping support for different sizes of spi ram
This commit is contained in:
Wu Zheng Hui
2021-09-15 16:09:33 +08:00
committed by Jiang Jiang Jian
parent 93c639872b
commit 4fd6d3deae
12 changed files with 189 additions and 129 deletions

View File

@@ -240,6 +240,17 @@ SECTIONS
_noinit_end = ABSOLUTE(.);
} > dram0_0_seg
/* external memory bss, from any global variable with EXT_RAM_ATTR attribute*/
.ext_ram.bss (NOLOAD) :
{
_ext_ram_bss_start = ABSOLUTE(.);
mapping[extern_ram]
. = ALIGN(4);
_ext_ram_bss_end = ABSOLUTE(.);
} > extern_ram_seg
/* Shared RAM */
.dram0.bss (NOLOAD) :
{