forked from qt-creator/qt-creator
ProjectExplorer: Add support for new R32C architecture
This commit adds new ProjectExplorer::Abi::R32CArchitecture entry for the Renesas R32C architecture: * https://www.renesas.com/us/en/products/microcontrollers-microprocessors/m16c.html Change-Id: I869dd07783355b01522ca9eb87b73a8e55bf3746 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -773,6 +773,8 @@ QString Abi::toString(const Architecture &a)
|
||||
return QLatin1String("m32c");
|
||||
case M16CArchitecture:
|
||||
return QLatin1String("m16c");
|
||||
case R32CArchitecture:
|
||||
return QLatin1String("r32c");
|
||||
case RiscVArchitecture:
|
||||
return QLatin1String("riscv");
|
||||
case UnknownArchitecture:
|
||||
@@ -937,6 +939,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
|
||||
return M32CArchitecture;
|
||||
if (a == "m16c")
|
||||
return M16CArchitecture;
|
||||
if (a == "r32c")
|
||||
return R32CArchitecture;
|
||||
if (a == "riscv")
|
||||
return RiscVArchitecture;
|
||||
else if (a == "xtensa")
|
||||
|
@@ -72,6 +72,7 @@ public:
|
||||
M68KArchitecture,
|
||||
M32CArchitecture,
|
||||
M16CArchitecture,
|
||||
R32CArchitecture,
|
||||
RiscVArchitecture,
|
||||
UnknownArchitecture
|
||||
};
|
||||
|
Reference in New Issue
Block a user