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:
Denis Shienkov
2020-04-10 21:55:59 +03:00
parent ca4908bab5
commit 4672aff903
3 changed files with 145 additions and 5 deletions

View File

@@ -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")