diff --git a/mlonmcu/target/riscv/riscv.py b/mlonmcu/target/riscv/riscv.py index 5c140f992..3c372626c 100644 --- a/mlonmcu/target/riscv/riscv.py +++ b/mlonmcu/target/riscv/riscv.py @@ -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