Testing memory-mapped IO

Following on from yesterday’s post about developing code which uses the memory-mapped IO on the Raspberry Pi, but on a separate development system which does not have the same hardware, I began to think about the steps needed for testing such code. The first stage is unit-level testing. As much of the code as possible …

Continue reading ‘Testing memory-mapped IO’ »

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’ »

TDD and operating system development

Well, I’m back from my travels, and I did indeed do a lot of thinking. And a lot of driving. At least eight hours behind the wheel plus other odds and ends of time gave me plenty of opportunity to mull things over. When I had a chance, I scribbled down notes on notepads and …

Continue reading ‘TDD and operating system development’ »