forked from qt-creator/qt-creator
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 <hjk@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user