From c21f2b4286646c17697c865a8392c4214fbebe3a Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Thu, 14 May 2020 16:54:37 +0300 Subject: [PATCH] BareMetal: Add support for V850 architecture in GCC toolchain This commit adds support for the Renesas V850 atchitecture: * https://www.renesas.com/us/en/products/microcontrollers-microprocessors/v850.html using GCC toolchains. Change-Id: I2224b3241040c02196b39ff013659d2b8c692208 Reviewed-by: hjk --- 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 7c1a3a880cd..73d78d8899e 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -511,6 +511,12 @@ Abi Abi::abiFromTargetTriplet(const QString &triple) flavor = GenericFlavor; format = ElfFormat; width = 16; + } else if (p == "v850") { + arch = V850Architecture; + os = BareMetalOS; + flavor = GenericFlavor; + format = ElfFormat; + width = 32; } else if (p.startsWith("mips")) { arch = MipsArchitecture; width = p.contains("64") ? 64 : 32;