cpu/CPUNone: Add ethmac to mem_map as temporary build workaround for --cpu-type=None --with-ethernet.

This commit is contained in:
Florent Kermarrec 2021-10-12 09:02:48 +02:00
parent 96cfb44851
commit a489dadfbc
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class CPUNone(CPU):
io_regions = {0x00000000: 0x100000000} # origin, length
periph_buses = []
memory_buses = []
mem_map = {"csr": 0x00000000}
mem_map = {"csr": 0x00000000, "ethmac": 0x00020000} # FIXME: remove ethmac.
CPU_GCC_TRIPLE_RISCV32 = (
"riscv64-unknown-elf",