/* * Copyright (c) 2022 Carlo Caione * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Linker command/script file * * Linker script for the Cortex-M platforms. */ #include #include #include #include #include /* * Add another fake portion of FLASH to simulate a secondary or external FLASH * that we can do XIP from. */ #define EXTFLASH_ADDR 0x5000 #define EXTFLASH_SIZE (CONFIG_FLASH_SIZE * 1K - EXTFLASH_ADDR) MEMORY { EXTFLASH (wx) : ORIGIN = 0x5000, LENGTH = EXTFLASH_SIZE } #include