Skip to content
Permalink
Browse files

soc: Port usage of soc-*.ld to use Cmake

Mark the feature as deprecated

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
  • Loading branch information...
oyvindronningstad authored and nashif committed Mar 20, 2019
1 parent 901c0a1 commit 5bebf2ae5c29d7f00ba69f5bd0c5fd4f97826ca2
@@ -40,6 +40,7 @@ if ARC || ARM || X86 || NIOS2 || RISCV32
config SOC_NOINIT_LD
bool
help
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
Include an SoC specific linker script fragment named soc-noinit.ld
for inserting additional data and linker directives into
the noinit section.
@@ -50,6 +51,7 @@ config SOC_NOINIT_LD
config SOC_RODATA_LD
bool
help
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
Include an SoC specific linker script fragment named soc-rodata.ld
for inserting additional data and linker directives into
the rodata section.
@@ -60,6 +62,7 @@ config SOC_RODATA_LD
config SOC_RWDATA_LD
bool
help
Note: This is deprecated, use Cmake function zephyr_linker_sources() instead.
Include an SoC specific linker script fragment named soc-rwdata.ld
for inserting additional data and linker directives into
the data section.
@@ -8,3 +8,6 @@ zephyr_include_directories(.)
zephyr_sources(
soc.c
)

zephyr_linker_sources_ifdef(CONFIG_SOC_SERIES_PSOC62 NOINIT noinit.ld)
zephyr_linker_sources_ifdef(CONFIG_SOC_SERIES_PSOC62 RWDATA rwdata.ld)
@@ -10,7 +10,5 @@ config SOC_SERIES_PSOC62
select SOC_FAMILY_PSOC6
select CPU_CORTEX_M_HAS_SYSTICK
select HAS_CYPRESS_DRIVERS
select SOC_NOINIT_LD
select SOC_RWDATA_LD
help
Enable support for Cypress PSoC6 MCU series
@@ -0,0 +1,17 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Extracted from:
* ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld
*
* Size of sections are calculated in the startup scripts,
* so they don't have to be specified here.
*/

. = ALIGN(8);
KEEP(*(.ram_vectors))

. = ALIGN(4);
KEEP(*(.heap))

. = ALIGN(4);
KEEP(*(.stack))
@@ -0,0 +1,7 @@

/*
* SPDX-License-Identifier: Apache-2.0
* Extracted from:
* ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld
*/
KEEP(*(.cy_ramfunc))

This file was deleted.

This file was deleted.

0 comments on commit 5bebf2a

Please sign in to comment.
You can’t perform that action at this time.