Skip to content

Commit

Permalink
cpu/femtorv/core: Generate gcc_flags from GCC_FLAGS/Variants.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Nov 22, 2021
1 parent 828f763 commit a96304e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions litex/soc/cores/cpu/femtorv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ class FemtoRV(CPU):
# GCC Flags.
@property
def gcc_flags(self):
flags = "-march=rv32i "
flags += "-mabi=ilp32 "
flags += "-D__femtorv__ "
flags = GCC_FLAGS[self.variant]
flags += " -D__femtorv__ "
return flags

def __init__(self, platform, variant="standard"):
Expand Down

0 comments on commit a96304e

Please sign in to comment.