-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: Port the ramfunc section to the Cmake function
Remove it from linker.ld Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
- Loading branch information
1 parent
0001039
commit 6d00394
Showing
3 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* 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,,) | ||
{ | ||
MPU_ALIGN(_ramfunc_ram_size); | ||
_ramfunc_ram_start = .; | ||
*(.ramfunc) | ||
*(".ramfunc.*") | ||
MPU_ALIGN(_ramfunc_ram_size); | ||
_ramfunc_ram_end = .; | ||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) | ||
_ramfunc_ram_size = _ramfunc_ram_end - _ramfunc_ram_start; | ||
_ramfunc_rom_start = LOADADDR(.ramfunc); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters