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