forked from qt-creator/qt-creator
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user