2019-03-13 00:15:32 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
* Copyright (c) 2019 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Copied from linker.ld */
|
|
|
|
|
|
|
|
SECTION_DATA_PROLOGUE(.ramfunc,,)
|
|
|
|
{
|
2021-05-22 03:29:59 +08:00
|
|
|
MPU_ALIGN(__ramfunc_size);
|
|
|
|
__ramfunc_start = .;
|
2019-03-13 00:15:32 +08:00
|
|
|
*(.ramfunc)
|
|
|
|
*(".ramfunc.*")
|
2022-04-14 03:28:19 +08:00
|
|
|
|
|
|
|
#include <snippets-ramfunc-section.ld>
|
|
|
|
|
2021-05-22 03:29:59 +08:00
|
|
|
MPU_ALIGN(__ramfunc_size);
|
|
|
|
__ramfunc_end = .;
|
2019-03-13 00:15:32 +08:00
|
|
|
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
2021-05-22 03:29:59 +08:00
|
|
|
__ramfunc_size = __ramfunc_end - __ramfunc_start;
|
|
|
|
__ramfunc_load_start = LOADADDR(.ramfunc);
|