1/* linker.ld - Linker command/script file */
2
3/*
4 * Copyright (c) 2024 Andrew Featherstone
5 *
6 * SPDX-License-Identifier: Apache-2.0
7 */
8
9MEMORY
10{
11	IMAGE_DEF_FLASH (r) : ORIGIN = 0x10000000, LENGTH = 128
12}
13
14SECTIONS
15{
16	.image_def : {
17		LONG(0xffffded3) /* PICOBIN_BLOCK_MARKER_START */
18		LONG(0x10210142) /* IMAGE_DEF Item */
19		LONG(0x00000203) /* VECTOR_TABLE Item */
20		LONG(ABSOLUTE(_vector_start)) /* - Address of the vector table in flash */
21		LONG(0x000003ff) /* Last Item in Block */
22		LONG(0x00000000) /* End of block loop */
23		LONG(0xab123579) /* PICOBIN_BLOCK_MARKER_END */
24	} > IMAGE_DEF_FLASH
25}
26
27#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>
28