Fitting a Real Time Clock to Raspberry Pi

The Raspberry Pi is a great little board, and it still amazes me the huge range of things you can do with it. However, it’s not without its limitations. One of these limitations is that it has no “real-time” clock. Sure, it has internal counters and the like, and when running under Linux it will …

Continue reading ‘Fitting a Real Time Clock to Raspberry Pi’ »

Building Raspberry Pi code for unit tests

So far, despite working on a variety of bare-metal software features for the Raspberry Pi, I have not managed to achieve my aim of using the principles of TDD (Test-Driven Development). In my “day job” I make a lot of use of TDD techniques, and I am convinced that this approach both greatly improves the …

Continue reading ‘Building Raspberry Pi code for unit tests’ »

Serial port shenanigans

Before I left for our holiday travels, I ordered a couple of extra toys for my Raspberry Pi, both from UK dealer Proto-PIC.co.uk The first was a “prototyping plate” from Aadafruit which brings out the on-board connections to a circuit board and some screw connectors for solderless cabling. This one is “some assembly required”, so …

Continue reading ‘Serial port shenanigans’ »

A real C project

Yesterday I discussed getting ready to do some C work on the Raspberry Pi. Today I’ll go into a bit more of how it went. First I pulled the project source from my git repository using git clone, changed into the project directory and typed make. I had no real expectations what might happen. This …

Continue reading ‘A real C project’ »

Linux, ssh, git and C

Today has been really busy on the Raspberry Pi front. I’ve gone from a little box I’m not sure what to do with, to a fully working Linux development system. Better than that, it’s already helped me find some bugs in an existing piece of software I was working on. Things have moved on a …

Continue reading ‘Linux, ssh, git and C’ »