diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2020-07-25 23:44:35 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2020-07-27 07:32:08 +0000 |
commit | 01c75b48d8058dd2d88aa6b7d11cd281d1c14258 (patch) | |
tree | b97a91ab7e0baa27f1ec0035d1f202af226ec83a /tests | |
parent | dc0710e1cb7a296a6897a998f65cdfb2bf934d56 (diff) |
baremetal: Pass all current tests for IAR SH
We need to exclude the '--deprecated_feature_warnings' flag for
the IAR SH compiler, because this flag is not supported.
Also we need to set the architecture-specific linker options.
Change-Id: I038fe6972aeed9deb8cc3e76308cb1e393a15b8b
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/blackbox/testdata-baremetal/BareMetalApplication.qbs | 10 | ||||
-rw-r--r-- | tests/auto/blackbox/testdata-baremetal/BareMetalStaticLibrary.qbs | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/BareMetalApplication.qbs b/tests/auto/blackbox/testdata-baremetal/BareMetalApplication.qbs index 2a54d3588..1362b0cbb 100644 --- a/tests/auto/blackbox/testdata-baremetal/BareMetalApplication.qbs +++ b/tests/auto/blackbox/testdata-baremetal/BareMetalApplication.qbs @@ -57,6 +57,16 @@ CppApplication { ] } Properties { + condition: qbs.toolchain.contains("iar") + && qbs.architecture === "sh" + cpp.driverLinkerFlags: [ + "--config_def", "_CSTACK_SIZE=0x800", + "--config_def", "_HEAP_SIZE=0x800", + "--config_def", "_INT_TABLE=0x10", + "--config", cpp.toolchainInstallPath + "/../config/generic.icf" + ] + } + Properties { condition: qbs.toolchain.contains("keil") && qbs.architecture.startsWith("arm") && cpp.compilerName.startsWith("armcc") diff --git a/tests/auto/blackbox/testdata-baremetal/BareMetalStaticLibrary.qbs b/tests/auto/blackbox/testdata-baremetal/BareMetalStaticLibrary.qbs index 752b6aa5a..1f8e48509 100644 --- a/tests/auto/blackbox/testdata-baremetal/BareMetalStaticLibrary.qbs +++ b/tests/auto/blackbox/testdata-baremetal/BareMetalStaticLibrary.qbs @@ -57,6 +57,16 @@ StaticLibrary { ] } Properties { + condition: qbs.toolchain.contains("iar") + && qbs.architecture === "sh" + cpp.driverLinkerFlags: [ + "--config_def", "_CSTACK_SIZE=0x800", + "--config_def", "_HEAP_SIZE=0x800", + "--config_def", "_INT_TABLE=0x10", + "--config", cpp.toolchainInstallPath + "/../config/generic.icf" + ] + } + Properties { condition: qbs.toolchain.contains("keil") && qbs.architecture.startsWith("arm") && cpp.compilerName.startsWith("armcc") |