Skip to content

Commit

Permalink
riscv targets: fix RISCV_CPU typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Nov 15, 2024
1 parent 1f9abf9 commit 921c66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlonmcu/target/riscv/riscv.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def get_platform_defs(self, platform):
# ret["RISCV_ELF_GCC_BASENAME"] = self.pulp_gcc_basename
ret["RISCV_ARCH"] = self.gcc_arch if self.toolchain == "gcc" else self.llvm_arch
ret["RISCV_ABI"] = self.abi
ret["RISCV_MCPU"] = self.cpu
ret["RISCV_CPU"] = self.cpu
# llvm/clang only!
ret["RISCV_ATTR"] = self.attr
ret["RISCV_LINUX"] = not self.is_bare # TODO: add -static if linux gcc is used
Expand Down

0 comments on commit 921c66b

Please sign in to comment.