BareMetal: Auto-detect IAR toolchain for Renesas RX architecture

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

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

Change-Id: I3f00ca525fef8b0ce989f1e0f97857446d04449c
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Denis Shienkov
2020-04-28 14:55:03 +03:00
parent d5f107bb54
commit e4b889802e
3 changed files with 11 additions and 2 deletions

View File

@@ -729,6 +729,8 @@ QString Abi::toString(const Architecture &a)
return QLatin1String("v850");
case Rh850Architecture:
return QLatin1String("rh850");
case RxArchitecture:
return QLatin1String("rx");
case UnknownArchitecture:
Q_FALLTHROUGH();
default:
@@ -879,6 +881,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
return V850Architecture;
if (a == "rh850")
return Rh850Architecture;
if (a == "rx")
return RxArchitecture;
else if (a == "xtensa")
return XtensaArchitecture;
if (a == "asmjs")