From c60b8ba4d4a61f5f2ca60b45e021bbdd43b73fce Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Wed, 23 Jan 2019 12:14:44 +0300 Subject: bare-metal: Add IAR AVR toolchain support This commit adds a basic support of the IAR Embedded Workbench toolchain for the AVR processors family. To use it with Qt Creator, it is enough to add there a desired Kit with a custom IAR C/C++ compiler, and then set the following in the Kit's Qbs profile settings: * Key: qbs.toolchainType * Value: iar Tested with EW for AVR v7.20.1 on Windows using the simple projects samples which are comes with the default IAR installer. Change-Id: I4ba65e0a753f8703764551c62d630849ff86d91f Reviewed-by: Richard Weickelt Reviewed-by: Christian Kandeler --- share/qbs/imports/qbs/Probes/IarProbe.qbs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'share/qbs/imports/qbs') diff --git a/share/qbs/imports/qbs/Probes/IarProbe.qbs b/share/qbs/imports/qbs/Probes/IarProbe.qbs index 20cbf3492..66b95162b 100644 --- a/share/qbs/imports/qbs/Probes/IarProbe.qbs +++ b/share/qbs/imports/qbs/Probes/IarProbe.qbs @@ -65,6 +65,10 @@ PathProbe { versionMajor = parseInt(version / 100); versionMinor = parseInt(version % 100); versionPatch = 0; + } else if (architecture === "avr") { + versionMajor = parseInt(version / 100); + versionMinor = parseInt(version % 100); + versionPatch = 0; } found = version && architecture && endianness; -- cgit v1.2.3