Use riscv32 gcc triples for picorv32- superset of riscv64 triples.

This commit is contained in:
William D. Jones 2020-12-31 03:22:56 -05:00
parent 737952577b
commit f65491c809
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ from migen import *
from litex import get_data_mod
from litex.soc.interconnect import wishbone
from litex.soc.cores.cpu import CPU, CPU_GCC_TRIPLE_RISCV64
from litex.soc.cores.cpu import CPU, CPU_GCC_TRIPLE_RISCV32
CPU_VARIANTS = ["minimal", "standard"]
@ -38,7 +38,7 @@ class PicoRV32(CPU):
variants = CPU_VARIANTS
data_width = 32
endianness = "little"
gcc_triple = CPU_GCC_TRIPLE_RISCV64
gcc_triple = CPU_GCC_TRIPLE_RISCV32
linker_output_format = "elf32-littleriscv"
nop = "nop"
io_regions = {0x80000000: 0x80000000} # origin, length