This repository demonstrates our test-toolchain mw.test. We demonstrate how to use it with the following tools. Currently we only have an example with the stm32f4-discovery board using C++. The example is however simple enough to be applied to C as well.
See the project structure for more details.
We have a full integration into the eclipse build system, including running the artifacts with openocd and qemu. You can import the project files in stm32f4-discovery and look at the tutorial.
In addition we have a custom makefile solution which also runs on Travis CI (using qemu) and reports the coverage. This will allow you to automatically report your build result with every commit, like this:
Build Status | Coverage |
---|---|
For more details on that see the corresponding .travis.yml or the tutorial
The following tools are used for the examples:
Qemu and OpenOcd are forks by the gnuarmclipse plugin.
We currently have no proper setup for linux environments, which means that all binaries are just put into one folder. This means that you will have to modify the LD_LIBRARY_PATH
environment variable to include the mw.test
folder.
export LD_LIBRARY_PATH=$HOME/mw.test:$LD_LIBRARY_PATH;