Skip to content

Commit

Permalink
pass RISCV_ATTR to mlif
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Jul 15, 2022
1 parent 7fc5c98 commit e08af83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlonmcu/target/riscv.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def get_platform_defs(self, platform):
ret["RISCV_ELF_GCC_BASENAME"] = self.riscv_basename
ret["RISCV_ARCH"] = self.arch
ret["RISCV_ABI"] = self.abi
ret["RISCV_ATTR"] = self.attr # TODO: use for clang
return ret

def get_arch(self):
Expand Down

0 comments on commit e08af83

Please sign in to comment.