zephyr/soc/ambiq/apollo3x/shared_ram.ld

16 lines
467 B
Plaintext

/*
* Copyright (c) 2024 Ambiq Micro Inc. <www.ambiq.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#if CONFIG_DT_HAS_AMBIQ_MSPI_CONTROLLER_ENABLED
SECTION_PROLOGUE (mspi_buff, CONFIG_SRAM_BASE_ADDRESS + CONFIG_MSPI_AMBIQ_BUFF_RAM_LOCATION (NOLOAD),)
{
__mspi_buff_start = .;
KEEP(*(SORT_BY_NAME(".mspi_buff*")))
. = ALIGN(CONFIG_MSPI_AMBIQ_BUFF_ALIGNMENT);
__mspi_buff_end = .;
} GROUP_LINK_IN(RAMABLE_REGION)
#endif