by peter » Tue Dec 18, 2012 7:45 am
It is very easy to port cocoOS to other targets.
The first thing you should do is to put your interrupt enable/disable calls in the macro definitions in os_port.h.
Then I suggest you start with an simple application with only one task that simply waits some time, toggles a pin and enter wait again.
Consider which features of cocoOS you need and write test applications for them.
I think os_msgqueue.c could be troublesome for some compilers. It contains some pointer arithmetics that could screw up thing on some architectures. So if you are using messages, you have to test and debug it carefully.
/Peter