From f65491c809bac689924848e2abaede1e6a7d4dc3 Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Thu, 31 Dec 2020 03:22:56 -0500 Subject: [PATCH] Use riscv32 gcc triples for picorv32- superset of riscv64 triples. --- litex/soc/cores/cpu/picorv32/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/cores/cpu/picorv32/core.py b/litex/soc/cores/cpu/picorv32/core.py index f0070ec10..8f870dc17 100644 --- a/litex/soc/cores/cpu/picorv32/core.py +++ b/litex/soc/cores/cpu/picorv32/core.py @@ -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