aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-05-19 14:39:52 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-05-19 14:35:18 +0000
commit61cb90e97a6376a822756ea7b7f92fe933929d68 (patch)
tree0acdf0e38899c6106d94c98ce1ae011ee4b6932f /src/plugins/projectexplorer
parent52336bae08dfbd6be0dd32fd080de73ae9e0f02f (diff)
ProjectExplorer: Add support for new M32C architecture
This commit adds new ProjectExplorer::Abi::M32CArchitecture entry for the Renesas M32C architecture: * https://www.renesas.com/us/en/products/microcontrollers-microprocessors/m16c.html Change-Id: Ic6ab278e5da6992824a1427ac86a470768fcdb1f Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r--src/plugins/projectexplorer/abi.cpp4
-rw-r--r--src/plugins/projectexplorer/abi.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp
index 9bd6baf4da..ee310020f1 100644
--- a/src/plugins/projectexplorer/abi.cpp
+++ b/src/plugins/projectexplorer/abi.cpp
@@ -763,6 +763,8 @@ QString Abi::toString(const Architecture &a)
return QLatin1String("78k");
case M68KArchitecture:
return QLatin1String("m68k");
+ case M32CArchitecture:
+ return QLatin1String("m32c");
case RiscVArchitecture:
return QLatin1String("riscv");
case UnknownArchitecture:
@@ -923,6 +925,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
return K78Architecture;
if (a == "m68k")
return M68KArchitecture;
+ if (a == "m32c")
+ return M32CArchitecture;
if (a == "riscv")
return RiscVArchitecture;
else if (a == "xtensa")
diff --git a/src/plugins/projectexplorer/abi.h b/src/plugins/projectexplorer/abi.h
index c94ee6081f..ecbb1cbf88 100644
--- a/src/plugins/projectexplorer/abi.h
+++ b/src/plugins/projectexplorer/abi.h
@@ -70,6 +70,7 @@ public:
RxArchitecture,
K78Architecture,
M68KArchitecture,
+ M32CArchitecture,
RiscVArchitecture,
UnknownArchitecture
};