1 |
8 |
jlechner |
# Defines a memory mapping for the SCARTS architecture.
|
2 |
|
|
# This file is to be used as input to scarts-memmap.sh.
|
3 |
|
|
#
|
4 |
|
|
# Author: Martin Walter, mwalter@opencores.org
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
# Define a name for the machine the mapping should be generated for.
|
8 |
|
|
# MEMMAP_CFG_MACH must be one of {"scarts_16", "scarts_32"}.
|
9 |
|
|
MEMMAP_CFG_MACH="scarts_32"
|
10 |
|
|
|
11 |
|
|
# Define a suitable name for MEMMAP_CFG_NAME. Dependencies will be created in
|
12 |
|
|
# ../build/$MEMMAP_CFG_NAME/$MEMMAP_CFG_MACH. Also, the linker script will be
|
13 |
|
|
# named $MEMMAP_CFG_MACH-$MEMMAP_CFG_NAME.ld.
|
14 |
|
|
# Examples: hpe_mini, hpe_mini_gdb, hpe_midi, hpe_midi_gdb
|
15 |
|
|
MEMMAP_CFG_NAME="hpe_midi"
|
16 |
|
|
|
17 |
|
|
# Set SCARTS_DEBUG_MODE to "true" if you wish that target applications get
|
18 |
|
|
# built with debug symbols enabled. This setting will put a penalty on the
|
19 |
|
|
# code size.
|
20 |
|
|
SCARTS_DEBUG_MODE="false"
|
21 |
|
|
|
22 |
|
|
# Set SCARTS_GDB_MODE to "true" if you wish to execute the GDB stub on the
|
23 |
|
|
# target. It is highly recommended to set SCARTS_DEBUG_MODE to "true".
|
24 |
|
|
SCARTS_GDB_MODE="false"
|
25 |
|
|
|
26 |
|
|
# Set SCARTS_BOOTROM_SIZE to the size of the Boot-ROM [bytes].
|
27 |
|
|
# SCARTS_BOOTROM_SIZE must be a power of 2.
|
28 |
|
|
SCARTS_BOOTROM_SIZE=0x1000
|
29 |
|
|
|
30 |
|
|
# Set SCARTS_CODEMEM_SIZE to the size of the code memory [bytes].
|
31 |
|
|
# SCARTS_CODEMEM_SIZE must be a power of 2.
|
32 |
|
|
SCARTS_CODEMEM_SIZE=0x20000
|
33 |
|
|
|
34 |
|
|
# Set SCARTS_DATAMEM_SIZE to the size of the data memory [bytes].
|
35 |
|
|
# SCARTS_DATAMEM_SIZE must be a power of 2.
|
36 |
|
|
SCARTS_DATAMEM_SIZE=0x80000
|
37 |
|
|
|
38 |
|
|
# Set SCARTS_DATAMEM_BOOTLOADER_SIZE to the amount of data memory used by the
|
39 |
|
|
# bootloader [bytes]. This must be a power of 2, or 0 if unused.
|
40 |
|
|
SCARTS_DATAMEM_BOOTLOADER_SIZE=0x200
|
41 |
|
|
|
42 |
|
|
# Set SCARTS_DATAMEM_BOOTLOADER_PERSISTENT to "true" if you wish to make the
|
43 |
|
|
# bootloader's portion of the data memory persistent, i.e. it will then not
|
44 |
|
|
# be overwritten by the target application.
|
45 |
|
|
SCARTS_DATAMEM_BOOTLOADER_PERSISTENT="false"
|
46 |
|
|
|
47 |
|
|
# Set SCARTS_DATAMEM_EXTMODS_SIZE to the size of the address space reserved
|
48 |
|
|
# by the set of extension modules of the SCARTS architecture [bytes]. This
|
49 |
|
|
# must be a power of 2 and defaults to 0x400.
|
50 |
|
|
SCARTS_DATAMEM_EXTMODS_SIZE=0x400
|
51 |
|
|
|