BareMetal: Auto-detect IAR EW toolchain for MSP430 architecture

Also we introduce the new 'msp430' architecture in
ProjectExplorer::Abi.

Change-Id: Ifb857abb29d78396b0d55a4604511951597f4415
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Denis Shienkov
2019-08-14 12:17:01 +03:00
parent 0aeade8e6d
commit 88c91b0586
3 changed files with 13 additions and 2 deletions

View File

@@ -693,6 +693,8 @@ QString Abi::toString(const Architecture &a)
return QLatin1String("asmjs");
case Stm8Architecture:
return QLatin1String("stm8");
case Msp430Architecture:
return QLatin1String("msp430");
case UnknownArchitecture:
Q_FALLTHROUGH();
default:
@@ -831,6 +833,8 @@ Abi::Architecture Abi::architectureFromString(const QStringRef &a)
return ShArchitecture;
if (a == "stm8")
return Stm8Architecture;
if (a == "msp430")
return Msp430Architecture;
else if (a == "xtensa")
return XtensaArchitecture;
if (a == "asmjs")