1/* linker.ld - Linker command/script file */ 2 3/* 4 * Copyright (c) 2014 Wind River Systems, Inc. 5 * Copyright (c) 2021 Yonatan Schachter 6 * 7 * SPDX-License-Identifier: Apache-2.0 8 */ 9 10/* 11 * The Second Stage Bootloader is only linked to the app that 12 * resides at 0x100. This can be the application, or a bootloader 13 * such as mcuboot. 14 */ 15#if CONFIG_RP2_REQUIRES_SECOND_STAGE_BOOT 16MEMORY 17{ 18 BOOT_FLASH (r) : ORIGIN = 0x10000000, LENGTH = 256 19} 20 21SECTIONS 22{ 23 .boot2 : { 24 KEEP(*(.boot2)) 25 } > BOOT_FLASH 26} 27#endif /* CONFIG_RP2_REQUIRES_SECOND_STAGE_BOOT */ 28 29#include <zephyr/arch/arm/cortex_m/scripts/linker.ld> 30