diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2019-07-13 15:40:04 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2019-07-18 14:44:23 +0000 |
commit | 62e0c4710cc0c146cd057840d2b02ae06313c359 (patch) | |
tree | 3c9488b0de0d9db6f6ea22706f9122653047ee9b /src/plugins/generator/iarew/iarewversioninfo.cpp | |
parent | 973ec011fda30243579e76800ba52b1fab77eb39 (diff) |
baremetal: Long live the IAR EW project generator for 8051
Right now it is possible to generate a native projects for the
IAR Embedded Workbench IDE, e.g. using the following command:
qbs generate -g iarew10 -d <path/to/build/directory> -f <path/to/qbs/project> profile:<your/qbs/profile>
We need in a valid IAR EW QBS profile, from which the generator take
a desired target architecture and other stuff.
The IAR EW generator has a semi-intelligent logic, it parses a source
QBS project and converts a compiler flags and other stuff to an
appropriate configurations of the native IAR EW project.
Currently it is supported only one 'iarew10' generator which allow to
generate a projects for the IAR EW for 8051 for all versions of 10 series.
Tested with the IAR EW for 8051 v10.10.1, using as the QBS
bare-metal examples, and as other projects.
Change-Id: If8a7397bebf6176010d42cfda41230e50a499a69
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/generator/iarew/iarewversioninfo.cpp')
-rw-r--r-- | src/plugins/generator/iarew/iarewversioninfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/generator/iarew/iarewversioninfo.cpp b/src/plugins/generator/iarew/iarewversioninfo.cpp index 734aa1452..f0293b998 100644 --- a/src/plugins/generator/iarew/iarewversioninfo.cpp +++ b/src/plugins/generator/iarew/iarewversioninfo.cpp @@ -57,6 +57,7 @@ std::set<IarewVersionInfo> IarewVersionInfo::knownVersions() static const std::set<IarewVersionInfo> known = { {Version(8), {IarewUtils::Architecture::ArmArchitecture}}, {Version(7), {IarewUtils::Architecture::AvrArchitecture}}, + {Version(10), {IarewUtils::Architecture::Mcs51Architecture}}, }; return known; } |