Ok, I managed to get some tasks running and some leds blinking after calls to spytask and taskcreatePhySw, but then the camera just does and powers on normally when I press the power button. I've commented out some stuff, so I'm not sure if that may we causing the problems?
I'm attaching the platform directory with my work to date, I'm not sure if there is a better way of sharing the code? At what point should it be added to SVN?
ps. I'm using codegen, although I added LED debugging manually