soc: infineon_cat1: Support for .cy_ramfunc
- Add cy_ramfunc in to RAMFUNC_SECTION section Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
This commit is contained in:
parent
4694b15605
commit
883e40db51
2 changed files with 7 additions and 0 deletions
|
@ -13,3 +13,5 @@ zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1A ROM_START SORT_KEY
|
|||
|
||||
# Add section for cm0p image RAM
|
||||
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1A RAM_SECTIONS SORT_KEY 0 ram_cm0image.ld)
|
||||
|
||||
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1A RAMFUNC_SECTION SORT_KEY 0 ram_func.ld)
|
||||
|
|
5
soc/arm/infineon_cat1/psoc6/ram_func.ld
Normal file
5
soc/arm/infineon_cat1/psoc6/ram_func.ld
Normal file
|
@ -0,0 +1,5 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
KEEP(*(.cy_ramfunc))
|
Loading…
Add table
Add a link
Reference in a new issue