BareMetal: Auto-detect IAR toolchain for Renesas 78K architecture

This patch implements auto-detection for the 78K toolchain,
provided by IAR Systems:

 * https://www.iar.com/iar-embedded-workbench/#!?architecture=78K

Change-Id: Idef5e8982984c0cf24c120d31af0f6cee210694b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Denis Shienkov
2020-04-28 15:01:57 +03:00
parent e4b889802e
commit 02b9d9b7a2
3 changed files with 11 additions and 2 deletions

View File

@@ -731,6 +731,8 @@ QString Abi::toString(const Architecture &a)
return QLatin1String("rh850");
case RxArchitecture:
return QLatin1String("rx");
case K78Architecture:
return QLatin1String("78k");
case UnknownArchitecture:
Q_FALLTHROUGH();
default:
@@ -883,6 +885,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
return Rh850Architecture;
if (a == "rx")
return RxArchitecture;
if (a == "78k")
return K78Architecture;
else if (a == "xtensa")
return XtensaArchitecture;
if (a == "asmjs")