forked from qt-creator/qt-creator
BareMetal: Add support for Renesas M32C architecture in GCC toolchain
This commit adds support for the M32C atchitecture: * https://www.renesas.com/us/en/products/microcontrollers-microprocessors/m16c.html using GCC toolchains. Tested auto-detection on Windows using the GCC v4.7.3 toolchain provided from the following URL: * https://gnutoolchains.com/m32c-elf/ Change-Id: Iaddd69e3109a4bd81d094dcb4edab29c8b398f01 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -523,6 +523,12 @@ Abi Abi::abiFromTargetTriplet(const QString &triple)
|
|||||||
flavor = GenericFlavor;
|
flavor = GenericFlavor;
|
||||||
format = ElfFormat;
|
format = ElfFormat;
|
||||||
width = 16;
|
width = 16;
|
||||||
|
} else if (p == "m32c") {
|
||||||
|
arch = M32CArchitecture;
|
||||||
|
os = BareMetalOS;
|
||||||
|
flavor = GenericFlavor;
|
||||||
|
format = ElfFormat;
|
||||||
|
width = 16;
|
||||||
} else if (p.startsWith("riscv")) {
|
} else if (p.startsWith("riscv")) {
|
||||||
arch = RiscVArchitecture;
|
arch = RiscVArchitecture;
|
||||||
os = BareMetalOS;
|
os = BareMetalOS;
|
||||||
|
Reference in New Issue
Block a user