2018-04-16 19:03:33 +02:00
|
|
|
/*
|
2019-06-25 19:13:15 +02:00
|
|
|
* Copyright (C) 2017, 2019 Ken Rabold
|
2018-04-16 19:03:33 +02:00
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2020-09-09 21:37:15 +02:00
|
|
|
* @addtogroup cpu_riscv_common
|
2018-04-16 19:03:33 +02:00
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
2020-09-09 21:37:15 +02:00
|
|
|
* @brief Memory definitions for the RISC-V CPU
|
2018-04-16 19:03:33 +02:00
|
|
|
*
|
|
|
|
* @author Ken Rabold
|
2020-09-01 10:08:59 +02:00
|
|
|
* @author Koen Zandberg <koen@bergzand.net>
|
2018-04-16 19:03:33 +02:00
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
2020-09-09 21:37:15 +02:00
|
|
|
INCLUDE riscv_vars.ld
|
2018-04-16 19:03:33 +02:00
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
2020-09-09 21:37:15 +02:00
|
|
|
flash (rxai!w) : ORIGIN = _rom_start_addr, LENGTH = _rom_length
|
2020-09-01 10:08:59 +02:00
|
|
|
ram (wxa!ri) : ORIGIN = _ram_start_addr, LENGTH = _ram_length
|
|
|
|
itim (wxa!ri) : ORIGIN = _itim_start_addr, LENGTH = _itim_length
|
2018-04-16 19:03:33 +02:00
|
|
|
}
|
|
|
|
|
2020-09-09 21:37:15 +02:00
|
|
|
INCLUDE riscv_base.ld
|