boards/nrf53: add missing shmem section

This commit is contained in:
raiden00pl
2023-08-19 20:15:15 +02:00
committed by Xiang Xiao
parent 8ebc0dc9e8
commit 74cc036536
4 changed files with 40 additions and 0 deletions
@@ -53,6 +53,7 @@ MEMORY
LENGTH = FLASH_IMG_SIZE
datamem (rwx) : ORIGIN = RAM_CPUAPP_START_ADDR,
LENGTH = CONFIG_NRF53_CPUAPP_MEM_RAM_SIZE - RPTUN_SHMEM
shmem (rw) : ORIGIN = 0x20078000, LENGTH = RPTUN_SHMEM
}
OUTPUT_ARCH(arm)
@@ -120,6 +121,15 @@ SECTIONS
_ebss = ABSOLUTE(.);
} > datamem
/* Shmem */
.shmem :
{
. = ALIGN(4);
*(.shmem);
KEEP(*(.shmem))
} > shmem
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
@@ -30,6 +30,7 @@ MEMORY
{
progmem (rx) : ORIGIN = 0x00000000, LENGTH = 1024K
datamem (rwx) : ORIGIN = 0x20000000, LENGTH = 512K - RPTUN_SHMEM
shmem (rw) : ORIGIN = 0x20078000, LENGTH = RPTUN_SHMEM
}
OUTPUT_ARCH(arm)
@@ -97,6 +98,15 @@ SECTIONS
_ebss = ABSOLUTE(.);
} > datamem
/* Shmem */
.shmem :
{
. = ALIGN(4);
*(.shmem);
KEEP(*(.shmem))
} > shmem
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
@@ -30,6 +30,7 @@ MEMORY
{
progmem (rx) : ORIGIN = 0x00000000, LENGTH = 1024K
datamem (rwx) : ORIGIN = 0x20000000, LENGTH = 512K - RPTUN_SHMEM
shmem (rw) : ORIGIN = 0x20078000, LENGTH = RPTUN_SHMEM
}
OUTPUT_ARCH(arm)
@@ -97,6 +98,15 @@ SECTIONS
_ebss = ABSOLUTE(.);
} > datamem
/* Shmem */
.shmem :
{
. = ALIGN(4);
*(.shmem);
KEEP(*(.shmem))
} > shmem
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
@@ -30,6 +30,7 @@ MEMORY
{
progmem (rx) : ORIGIN = 0x00000000, LENGTH = 1024K
datamem (rwx) : ORIGIN = 0x20000000, LENGTH = 512K - RPTUN_SHMEM
shmem (rw) : ORIGIN = 0x20078000, LENGTH = RPTUN_SHMEM
}
OUTPUT_ARCH(arm)
@@ -97,6 +98,15 @@ SECTIONS
_ebss = ABSOLUTE(.);
} > datamem
/* Shmem */
.shmem :
{
. = ALIGN(4);
*(.shmem);
KEEP(*(.shmem))
} > shmem
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }