forked from qt-creator/qt-creator
BareMetal: Add support for Keil C166 toolchain on Windows
This commit provides support for the C166 compiler provided by Keil: * http://www.keil.com/c166/ Now QtC auto-detect installed C166 compiler, its ABI's, headers, and pre-defined macros. Additionally, we have added the new 'c166' architecture to the ABI. Change-Id: I63bd39aff48d19e430b2e58b8b4531c33eaa0e4a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -723,6 +723,8 @@ QString Abi::toString(const Architecture &a)
|
||||
return QLatin1String("msp430");
|
||||
case Rl78Architecture:
|
||||
return QLatin1String("rl78");
|
||||
case C166Architecture:
|
||||
return QLatin1String("c166");
|
||||
case UnknownArchitecture:
|
||||
Q_FALLTHROUGH();
|
||||
default:
|
||||
@@ -867,6 +869,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
|
||||
return Msp430Architecture;
|
||||
if (a == "rl78")
|
||||
return Rl78Architecture;
|
||||
if (a == "c166")
|
||||
return C166Architecture;
|
||||
else if (a == "xtensa")
|
||||
return XtensaArchitecture;
|
||||
if (a == "asmjs")
|
||||
|
||||
Reference in New Issue
Block a user