:o)
i dusted of an old silly pico-kernel (smaller than micro) of coroutines from one on my old projects.
this is not fancy or complete like other os or RTOS but it is very small and can be useful...
it think of that has a "DangerousPrototype" :o)
so feel free to use and abuse !
so 3 files
osp.c --- c source
osp.h --- prototype
main.c --- an example from some dangerous examples code.
:o)
Very cool, thank you. What is the license on the osp files? May I upload it all to the Web Platform SVN?
ian, yes :-)
do whatever you wish with it, i think it could be useful for small things we do :o)
i wrote that many years ago as a study case for setjmp-longjmp and modify it last week for the ds33.
so yes, it is free to playwith, modify, trash, rewrite ( really easy to do for other PIC) etc etc ...
:o)
Thank you, I added it to SVN here:
http://code.google.com/p/dangerous-prot ... routine-os (http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn%2Ftrunk%2Fweb-platform%2Ffirmware%2Fpico-coroutine-os)
:o)
Added to osp.c basic semaphore with P V services .