cmake: arm: update arm SoC to use SOC_LINKER_SCRIPT variable
This commit updates all arm SoCs to set SOC_LINKER_SCRIPT CMake variable to point to active linker script directly. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
b2de93cff6
commit
4812884f84
204 changed files with 192 additions and 1053 deletions
|
@ -5,3 +5,5 @@
|
||||||
|
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
zephyr_include_directories(${ZEPHYR_BASE}/soc/arm/common/cortex_m)
|
zephyr_include_directories(${ZEPHYR_BASE}/soc/arm/common/cortex_m)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2023 Antmicro <www.antmicro.com>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -4,3 +4,5 @@ zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
power.c
|
power.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1 +1,3 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_library_sources_ifdef(CONFIG_ARM_MPU arm_mpu_regions.c)
|
zephyr_library_sources_ifdef(CONFIG_ARM_MPU arm_mpu_regions.c)
|
||||||
zephyr_library_sources(soc.c)
|
zephyr_library_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_a_r/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/*
|
|
||||||
* linker.ld - Linker command/script file
|
|
||||||
*
|
|
||||||
* Copyright (c) 2022 IoT.bzh
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_a_r/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -4,3 +4,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -7,3 +7,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -13,3 +13,5 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||||
${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.bin
|
${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.bin
|
||||||
${PROJECT_BINARY_DIR}/uart_${CONFIG_KERNEL_BIN_NAME}.bin
|
${PROJECT_BINARY_DIR}/uart_${CONFIG_KERNEL_BIN_NAME}.bin
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -4,3 +4,5 @@ zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
soc_config.c
|
soc_config.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -4,3 +4,5 @@ zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
soc_config.c
|
soc_config.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -23,3 +23,5 @@ zephyr_sources_ifdef(CONFIG_SOC_SERIES_SAME53 soc_samd5x.c)
|
||||||
zephyr_sources_ifdef(CONFIG_SOC_SERIES_SAME54 soc_samd5x.c)
|
zephyr_sources_ifdef(CONFIG_SOC_SERIES_SAME54 soc_samd5x.c)
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2018 Sean Nyekjaer
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 Argentum Systems Ltd.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Google LLC.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 Argentum Systems Ltd.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,8 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 Argentum Systems Ltd.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,3 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/* SPDX-License-Identifier: Apache-2.0 */
|
|
||||||
/*
|
|
||||||
* Copyright 2019 Broadcom.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -4,3 +4,5 @@ zephyr_include_directories(.)
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2020 Broadcom
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#include <linker_m7.ld>
|
|
|
@ -1,7 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2020 Broadcom
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -12,3 +12,5 @@ zephyr_sources(
|
||||||
|
|
||||||
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_PSOC6 NOINIT noinit.ld)
|
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_PSOC6 NOINIT noinit.ld)
|
||||||
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_PSOC6 RWDATA rwdata.ld)
|
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_PSOC6 RWDATA rwdata.ld)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2018 Cypress
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @file
|
|
||||||
* @brief Linker command/script file
|
|
||||||
*
|
|
||||||
* This is the linker script for both standard images and XIP images.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 Teslabs Engineering S.L.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 YuLong Yao <feilongphone@gmail.com>
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 Teslabs Engineering S.L.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 BrainCo Inc.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 Teslabs Engineering S.L.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2022 BrainCo Inc.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -17,3 +17,5 @@ zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1A RAM_SECTIONS SORT_K
|
||||||
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1A RAMFUNC_SECTION SORT_KEY 0 ram_func.ld)
|
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1A RAMFUNC_SECTION SORT_KEY 0 ram_func.ld)
|
||||||
|
|
||||||
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1 RODATA SORT_KEY 0 rom.ld)
|
zephyr_linker_sources_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1 RODATA SORT_KEY 0 rom.ld)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company) or
|
|
||||||
* an affiliate of Cypress Semiconductor Corporation
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -5,3 +5,5 @@
|
||||||
|
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
zephyr_linker_sources(NOINIT noinit.ld)
|
zephyr_linker_sources(NOINIT noinit.ld)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @file
|
|
||||||
* @brief Linker command/script file
|
|
||||||
*
|
|
||||||
* This is the linker script for both standard images and XIP images.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -5,3 +5,5 @@
|
||||||
|
|
||||||
zephyr_include_directories(.)
|
zephyr_include_directories(.)
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_a_r/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2022 Intel Corporation
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
* Description:
|
|
||||||
* Adding support for Cyclone V SoC FPGA, using arm32 linker
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_a_r/scripts/linker.ld>
|
|
|
@ -21,3 +21,5 @@ if(CONFIG_SOC_HAS_TIMING_FUNCTIONS AND NOT CONFIG_BOARD_HAS_TIMING_FUNCTIONS)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -21,3 +21,5 @@ if(CONFIG_SOC_HAS_TIMING_FUNCTIONS AND NOT CONFIG_BOARD_HAS_TIMING_FUNCTIONS)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -10,3 +10,5 @@ zephyr_library_include_directories(
|
||||||
${ZEPHYR_BASE}/kernel/include
|
${ZEPHYR_BASE}/kernel/include
|
||||||
${ZEPHYR_BASE}/arch/arm/include
|
${ZEPHYR_BASE}/arch/arm/include
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -22,3 +22,5 @@ if(CONFIG_SOC_NRF52832)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -19,3 +19,5 @@ if (CONFIG_SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED AND
|
||||||
At your own risk, you can suppress this warning by setting
|
At your own risk, you can suppress this warning by setting
|
||||||
CONFIG_SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED=n.")
|
CONFIG_SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED=n.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -5,3 +5,5 @@ zephyr_include_directories(${ZEPHYR_BASE}/drivers)
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2023 Nuvoton Technology Corporation.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -10,3 +10,5 @@ zephyr_sources_ifdef(
|
||||||
CONFIG_ARM_MPU
|
CONFIG_ARM_MPU
|
||||||
mpu_regions.c
|
mpu_regions.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -1,3 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
zephyr_include_directories(${ZEPHYR_BASE}/drivers)
|
zephyr_include_directories(${ZEPHYR_BASE}/drivers)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/* linker.ld - Linker command/script file */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2021 Nuvoton Technology Corporation.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -3,3 +3,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2023 Nuvoton Technology Corporation.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -4,3 +4,5 @@
|
||||||
# Author: Saravanan Sekar <saravanan@linumiz.com>
|
# Author: Saravanan Sekar <saravanan@linumiz.com>
|
||||||
|
|
||||||
zephyr_sources(soc.c)
|
zephyr_sources(soc.c)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*
|
|
||||||
* Copyright (c) 2020 Linumiz
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -8,3 +8,5 @@ zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
soc_clk_freq.c
|
soc_clk_freq.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -8,3 +8,5 @@ zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
soc_clk_freq.c
|
soc_clk_freq.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -15,3 +15,5 @@ if(CONFIG_OPENAMP_RSC_TABLE)
|
||||||
zephyr_linker_section(NAME .resource_table GROUP ROM_REGION NOINPUT)
|
zephyr_linker_section(NAME .resource_table GROUP ROM_REGION NOINPUT)
|
||||||
zephyr_linker_section_configure(SECTION .resource_table KEEP INPUT ".resource_table*")
|
zephyr_linker_section_configure(SECTION .resource_table KEEP INPUT ".resource_table*")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -12,3 +12,5 @@ if(CONFIG_OPENAMP_RSC_TABLE)
|
||||||
zephyr_linker_section(NAME .resource_table GROUP ROM_REGION NOINPUT)
|
zephyr_linker_section(NAME .resource_table GROUP ROM_REGION NOINPUT)
|
||||||
zephyr_linker_section_configure(SECTION .resource_table KEEP INPUT ".resource_table*")
|
zephyr_linker_section_configure(SECTION .resource_table KEEP INPUT ".resource_table*")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -7,3 +7,5 @@
|
||||||
zephyr_sources(
|
zephyr_sources(
|
||||||
soc.c
|
soc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2021, Kwon Tae-young <tykwon@m2i.co.kr>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
|
|
|
@ -59,3 +59,5 @@ zephyr_linker_section_configure(
|
||||||
KEEP
|
KEEP
|
||||||
PRIO 11
|
PRIO 11
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue