aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/generator/iarew/iarew.pro
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2019-08-19 18:12:40 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2019-08-28 13:41:07 +0000
commit358348530d69528ce36e6d767d51a47cd42ae1e5 (patch)
tree8d4a9c12fb035e092335506ada76aaa1f13b5c37 /src/plugins/generator/iarew/iarew.pro
parent037ed366c6f3cd57a3d8a40f1ce0a0050e0855ec (diff)
baremetal: Long live the IAR EW project generator for MSP430
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 iarew7 -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 'iarew7' generator which allow to generate a projects for the IAR EW for MSP430 for all versions of 7 series. Tested with the IAR EW for MSP430 v7.12.4, using as the QBS bare-metal examples, and as other projects. Change-Id: Ic0bbc82e6ebb3b04bced639797976e432809171f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/generator/iarew/iarew.pro')
-rw-r--r--src/plugins/generator/iarew/iarew.pro18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/plugins/generator/iarew/iarew.pro b/src/plugins/generator/iarew/iarew.pro
index d931f365f..7de474a45 100644
--- a/src/plugins/generator/iarew/iarew.pro
+++ b/src/plugins/generator/iarew/iarew.pro
@@ -113,3 +113,21 @@ SOURCES += \
$$PWD/archs/stm8/stm8compilersettingsgroup_v3.cpp \
$$PWD/archs/stm8/stm8generalsettingsgroup_v3.cpp \
$$PWD/archs/stm8/stm8linkersettingsgroup_v3.cpp
+
+# For MSP430 architecture.
+
+HEADERS += \
+ $$PWD/archs/msp430/msp430archiversettingsgroup_v7.h \
+ $$PWD/archs/msp430/msp430assemblersettingsgroup_v7.h \
+ $$PWD/archs/msp430/msp430buildconfigurationgroup_v7.h \
+ $$PWD/archs/msp430/msp430compilersettingsgroup_v7.h \
+ $$PWD/archs/msp430/msp430generalsettingsgroup_v7.h \
+ $$PWD/archs/msp430/msp430linkersettingsgroup_v7.h
+
+SOURCES += \
+ $$PWD/archs/msp430/msp430archiversettingsgroup_v7.cpp \
+ $$PWD/archs/msp430/msp430assemblersettingsgroup_v7.cpp \
+ $$PWD/archs/msp430/msp430buildconfigurationgroup_v7.cpp \
+ $$PWD/archs/msp430/msp430compilersettingsgroup_v7.cpp \
+ $$PWD/archs/msp430/msp430generalsettingsgroup_v7.cpp \
+ $$PWD/archs/msp430/msp430linkersettingsgroup_v7.cpp