I am working on a Raspberry Pi core for my UECIDE project.
UECIDE is a port of the Arduino IDE and is aimed at running with many many different microcontrollers. PIC32, AVR, Arm, etc.
My latest endeavor is to make a core for compiling programs on the Pi (running UECIDE directly on the Pi) using the same API as the Arduino does. The aim is that you can then use a lot of the existing Arduino libraries for interfacing with external hardware, and you don't need to learn a new environment when switching from Arduino to Pi.
It's incomplete at the moment, but I'm looking for testers and feedback to help shape the project into what it needs to be.
http://uecide.org
At the moment the core supports:
GPIO input and output
Analog input through an ADC128S102 SPI 8-channel ADC (all I had to hand when I was building my breakout - I want to make it work with more).
Software PWM on all pins (350Hz, running in separate thread - software because the PWM in the Broadcom chip is a nightmare, and only 1 pin besides!).
SPI with manual chip-select (the same way you do with the Arduino - compatibility is everything here...)
"uploading" the program to the microcontroller launches the program in an X Terminal.
Console class that works like the Serial class of Arduino (for stdin/out).
Serial class through /dev/ttyAMA0, and can be used on other serial devices too (USB dongles, Bluetooth rfcomm, etc).
There's no I2C yet, though I will be implementing that soon (I just need to knock up some hardware to test it with).
So yeah, try it out and give me some feedback,