Skip to content

Commit

Permalink
mlonmcu/setup/tasks/riscv_gcc.py: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Nov 18, 2024
1 parent c5e3883 commit b203778
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mlonmcu/setup/tasks/riscv_gcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ def _validate_riscv_gcc(context: MlonMcuContext, params=None):
elif pext:
if not context.environment.has_feature("pext"):
return False
if xlen == 32 and not enable_rv32:
return False
if xlen == 64 and not enable_rv64:
return False
return True


Expand Down

0 comments on commit b203778

Please sign in to comment.