forked from qt-creator/qt-creator
ProjectExplorer: Detect ABI for GCC MSP430 compiler
This GCC compiler provides by Texas Instruments for the MSP430 architecture. Change-Id: I3ce330d0a14bd338f9350291242dcc434bb0d19e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -492,6 +492,12 @@ Abi Abi::abiFromTargetTriplet(const QString &triple)
|
||||
flavor = GenericFlavor;
|
||||
format = ElfFormat;
|
||||
width = 16;
|
||||
} else if (p == "msp430") {
|
||||
arch = Msp430Architecture;
|
||||
os = BareMetalOS;
|
||||
flavor = GenericFlavor;
|
||||
format = ElfFormat;
|
||||
width = 16;
|
||||
} else if (p.startsWith("mips")) {
|
||||
arch = MipsArchitecture;
|
||||
width = p.contains("64") ? 64 : 32;
|
||||
|
Reference in New Issue
Block a user