A sample repo to demonstrate how continuous integration works on STM32 projects. This sample is based on the following tutorial. Follow the instructions in the link to set this up yourself.
Click here to see the latest build result and artifact on CircleCI -
Here's another example of a working continuous integration tool using Travis CI -
- We used STM32CubeMX to generate a Makefile project. This is required in order to have a project we can easily build on a Linux machine with GCC-ARM.
- We then created a Docker container with the toolchain installed.
- Next, we configured CircleCI and TravisCI to build our project every time we push new code to GitHub.
For full details and walkthrough, head to the following link.
Docker - (if you’re looking to implement a continuous integration process, Docker is one of the building blocks you’ll need).
docker pull jumperio/vlab-gcc-arm
git clone https://github.com/Jumperr-labs/stm32_cubemx_sample.git
cd stm32_cubemx_sample
docker run -v $PWD:/my_files_in_docker –entrypoint /usr/bin/make jumperio/vlab-gcc-arm -C my_files_in_docker
The following post demonstrates how to use CircleCI, TravisCI and Docker to create a continuous integration process with test automation. See this link for more details.
Check out this test automation and continuous integration for embedded software blog to learn more.
To Start using the Jumper Virtual Lab, click here for more details.