2021-08-15 05:52:35 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2022-05-09 19:20:58 +08:00
|
|
|
#include <zephyr/linker/linker-tool.h>
|
2021-08-15 05:52:35 +08:00
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
IO (rw) : ORIGIN = 0xFFFFFE00, LENGTH = 512
|
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
SECTION_PROLOGUE(io, (NOLOAD),)
|
|
|
|
{
|
|
|
|
PROVIDE(__io_start = ORIGIN(IO));
|
|
|
|
PROVIDE(__io_end = ORIGIN(IO) + LENGTH(IO));
|
|
|
|
} GROUP_LINK_IN(IO)
|
|
|
|
}
|
|
|
|
|
2022-05-09 19:20:58 +08:00
|
|
|
#include <zephyr/arch/riscv/common/linker.ld>
|