diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/projectexplorer/abi.cpp | 4 | ||||
-rw-r--r-- | src/plugins/projectexplorer/abi.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index 33272ed234..ddaacff054 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -775,6 +775,8 @@ QString Abi::toString(const Architecture &a) return QLatin1String("m16c"); case R32CArchitecture: return QLatin1String("r32c"); + case CR16Architecture: + return QLatin1String("cr16"); case RiscVArchitecture: return QLatin1String("riscv"); case UnknownArchitecture: @@ -941,6 +943,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a) return M16CArchitecture; if (a == "r32c") return R32CArchitecture; + if (a == "cr16") + return CR16Architecture; if (a == "riscv") return RiscVArchitecture; else if (a == "xtensa") diff --git a/src/plugins/projectexplorer/abi.h b/src/plugins/projectexplorer/abi.h index 777b5c2cf0..5eec342368 100644 --- a/src/plugins/projectexplorer/abi.h +++ b/src/plugins/projectexplorer/abi.h @@ -73,6 +73,7 @@ public: M32CArchitecture, M16CArchitecture, R32CArchitecture, + CR16Architecture, RiscVArchitecture, UnknownArchitecture }; |