mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
boards/nrf53: add missing shmem section
This commit is contained in:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user