From 7c7201c56c46a893e148e0a3e8c88a2ad7f8823b Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Wed, 14 Aug 2019 12:53:03 +0300 Subject: [PATCH] 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 --- src/plugins/projectexplorer/abi.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index c76e34c6c4f..9c4f0d0502b 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -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;