blob: c17a84aad2a39d50e39e4817d2f9e74c317315e8 [file] [log] [blame]
/*
* Copyright (c) 2023 Synopsys, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @brief Linker script for the HSDK4XD Development Kit
*/
#include <zephyr/devicetree.h>
/*
* SRAM base address and size
*/
#if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && (DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) > 0)
#define SRAM_START DT_REG_ADDR(DT_CHOSEN(zephyr_sram))
#define SRAM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_sram))
#endif
#include <zephyr/arch/arc/v2/linker.ld>