I recently wrote some experimental avionics software which currently runs on an Olimex STM32-103STK board (see http://speleotrove.com/avionics/). The Primer/evoPrimer looks like an interesting alternative platform, so I have generalised the core of the avionics software to make 'Tollos' -- a small supervisor program for microcontrollers using ARM Cortex M3 cores.
Tollos is intended to provide an efficient platform for low power applications, suitable for development boards and microcontrollers from multiple vendors (such as the Primer2 and mbed boards). All the source code for Tollos and a sample application is included; it is all written in C and is now available at http://speleotrove.com/tollos/ -- it is beginning to be useful, and I expect to be adding to it.
For the Primer2, I have also put together a 'Getting Started' guide at http://speleotrove.com/tollos/getting_started.html which covers setting up Tollos on a Primer2, and then shows how to modify the sample application and compile and link it.
All comments and suggestions are welcome!
Mike Cowlishaw