blob: 26ae2082fa5cc4c7124fdb650cb38fb8e2cf0682 [file] [log] [blame]
/*
* Copyright (c) 2021, Laird Connectivity
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/devicetree.h>
MEMORY
{
#if defined(CONFIG_CODE_DDR)
DDR (wx) : ORIGIN = 0x80400000, LENGTH = 0x00C00000
#else
DDR (wx) : ORIGIN = 0x80000000, LENGTH = 0x01000000
#endif
}
#include <zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld>
SECTIONS
{
#ifdef CONFIG_OPENAMP_RSC_TABLE
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
{
KEEP(*(.resource_table*))
} GROUP_LINK_IN(ROMABLE_REGION)
#endif
}