| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
It makes sense to store platform-specific flags in one place, for
example, in BareMetalProduct. And then to inherit the applications
and the libraries from this common product. This solution minimizes
the copy/paste errors and make a tests code easier to maintain.
Change-Id: Iaf11be9d6f983e8ce542787d42e8b7ef050b1903
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: I2112e6bdca36b07502b571841528bb2734f41da0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: I8a43dce0ef2731c4d181fe529f5bd4cf40ea12cf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
| |
... because it is not supported on most bare-metal platforms.
Change-Id: I40900f78255f0c6c2553d5b0f575de085b7a0b1f
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
| |
We need to disable linking with the standard libraries.
Change-Id: I4399a55c0f28d808f421afb17689d56ba3a36f17
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
... also the changes in the BareMetal{Application|StaticLibrary}.qbs
files allows to pass all other IAR 78K tests.
Change-Id: Ic11a1237a09b44c6d88a0814c7b346aad252ced4
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
| |
... also the changes in the BareMetal{Application|StaticLibrary}.qbs
files allows to pass all other IAR V850 tests.
Change-Id: I44be6f19eea84a3bc0c3ee0f6763c323cbd4a138
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
| |
... also the changes in the BareMetal{Application|StaticLibrary}.qbs
files allows to pass all other IAR RH850 tests.
Change-Id: I5b226e6541cb93d68f30134e7f9df5f4f8c5915b
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
| |
... also the changes in the BareMetal{Application|StaticLibrary}.qbs
files allows to pass all other IAR RL78 tests.
Change-Id: Ifec395f174a156d3b29cc19c82b3a29668ea76ee
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
| |
... also the changes in the BareMetal{Application|StaticLibrary}.qbs
files allows to pass all other IAR STM8 tests.
Change-Id: Ic4e36e0e1a19863d2c9172a17e4bcfc5da7e3a34
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
|
| |
... because the cpp.driverFlags intended only for the compiler
and the linker; the assembler required the cpp.assemblerFlags
instead.
Change-Id: Ie1cca820d54095fc1361f5b9b049adc57674b3fd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
| |
Change-Id: Id4e1c081fa8d6841fbad58532daee7d62ff80942
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
| |
... because it is better to use the direct comparison instead.
Change-Id: Ie1b84b722beae3a263840ebbf9984f7061e71f07
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
| |
We need to specify an existing MCU type to make it possible to use
an appropriate linker script for linking.
Change-Id: I7fac9a4856448cafbb1365f67badf685f737e268
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
| |
We need to exclude the system libraries from the linking.
Change-Id: I9f1935a7aac8955302e0771193963feeba2368e3
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
| |
We need to exclude the system libraries from the linking.
Change-Id: I9a20cf8b979666831b6f7cc32c4e3e352fa1a861
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
|
|
|
|
|
|
| |
We need to skip the 'undefined' language version returned from
the Cpp.languageVersion() function.
Change-Id: I3345c2fbdde8b50c8fb9035ec10ca21e0024e6d3
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
|
|
The problem is that for different architectures and different toolchains
we need in a minimal set of a platform-specific flags and etc.
Previously (e.g. for MCS51 architecture and IAR/KEIL/SDCC toolchains) we
are not faced with this problem, because there by default we don't need
to specify a platform-specific flags for a minimal test.
But, for other platforms and compilers we need in this basic flags
(e.g. for ARM architecture and KEIL toolchain, we need to set the CPU
target flag, e.g. '--cpu cortex-m0').
So, it makes sense to derive all tested baremetal applications and
libraries from the basic BareMetal{Application|StaticLibrary} products.
In this case we can configure the desired flags once, using the QBS
Properties item.
Tested with the following architectures and toolchains:
* MCS51 (KEIL, IAR, SDCC)
* STM8 (SDCC)
* ARM (KEIL)
Change-Id: I484ed3abf78050fe2dd27e96e9442a3a03cecfa5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|