1/* 2 * Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/linker/linker-tool.h> 8 9MEMORY 10{ 11 IO (rw) : ORIGIN = 0xFFFFFE00, LENGTH = 512 12} 13 14SECTIONS 15{ 16 SECTION_PROLOGUE(io, (NOLOAD),) 17 { 18 PROVIDE(__io_start = ORIGIN(IO)); 19 PROVIDE(__io_end = ORIGIN(IO) + LENGTH(IO)); 20 } GROUP_LINK_IN(IO) 21} 22 23#include <zephyr/arch/riscv/common/linker.ld> 24