Last May I blogged about Starting with CODESYS on the Raspberry Pi. Since then I have found it a great teaching platform to help others learn CODESYS. My getting started tutorial is now a little out of date, so I thought I would reproduce it using current versions of software. This blog walks through the...
Author: David
Cross development using eclipse and GCC for the RPi
Introduction When I decided to use eclipse to do some cross development for the Raspberry Pi hosted on windows I was surprised to find that I found lots of useful posts elsewhere that gave a part of the solution, or worked well on a Linux host. I found both of the sites below to be...
Static analysis with Cppcheck in eclipse CDT and Jenkins
Static analysis tools look for a wide range of potential errors with code that compilers do not look for. Cppcheck is a an open source static analysis tool, it is extensible and being actively developed. These are the sorts of errors that can be found Out of bounds checking Memory leaks checking Detect possible...
gcov code coverage in eclipse and Jenkins
Introduction This post gives step by step instructions for adding code coverage with gcov to a google test eclipse project that is built as part of a CI process on Jenkins. This post starts from the point of already having a project compiled by a gnu compiler, in an eclipse CDT project that is being...
Automating eclipse CDT build on Jenkins
In my previous posts I have shown how to setup Jenkins to work with SVN and trac running on the Raspberry PI. I have also shown how to configure eclipse to work with google test and how to configure eclipse to work with SVN and trac. This post covers how to automate the build of...
Integrating SVN, trac and jenkins with eclipse CDT
I have previously posted on how to install trac, SVN and jenkins on the Raspberry Pi, and also on how to install (see the bottom of this post for related posts). When using Eclipse there are helpful plugins that tightly integrate all of these tools. This post covers the installation and configuration of these tools....
Using Google Test with CDT in eclipse
Introduction I like to use test driven development, currently my preferred framework is googletest. When I came to use eclipse CDT with the MinGW toolchain I found I had lots of little issues to get over to achieve what I wanted, namely a rapid TDD environment that I could also build from the command line...
Backup and Restore Raspberry Pi to Synology DiskStation
Introduction There are many articles on how to backup Raspery Pi systems, up to now I have relied on taking card images and storing these on a machine that is backed up. However it is all to easy to have a few hours of fun with the Raspberry Pi and then not get round to...
A solution to Jenkins jobs conflicting over shared resources
I have been looking for a way to manage the execution of Jenkins jobs that require exclusive access to a resource other than the Jenkins slave it is being built on. Let's consider two scenarios that can cause problems.Shared Physical ResourceWorking with embedded systems I often want to run tests on an embedded device as...
Using PiFace Control and Display with CODESYS
This post is intended for CODESYS beginners, it aims to give a step by step guide to creating a CODESYS project for the Raspberry Pi with the PiFace Control and Display add on board. (I am actually using PiFace Control and Display 2, but it appears to be compatible). Start by creating a new standard...