Em 16/02/2014 13:06, Martin Klingensmith escreveu: > On 2/16/2014 8:21 AM, Isaac Marino Bavaresco wrote: >> The PIC24 port is available at the page >> >> >> And did I mention it is free and open source? >> >> >> Ports for PIC24 and PIC32MX done. Now I will work on dsPIC, PIC32MZ >> (hopefully Microchip release them within this year), PIC18, ARM >> Cortex-M3 and ARM Cortex-M4. >> >> >> Best regards, >> >> Isaac >> >> > Isaac, > Thank you for sharing your code. > Personally I would be interested in a very basic round-robin non=20 > preemptive cooperative tasking system. Basically you would setup tasks=20 > and then each task would run until it calls taskyield(). Then the next=20 > task would run. > > Is this something that your code can do? It looks like it has a lot of=20 > features, though fewer than FreeRTOS. My issue with FreeRTOS is that the= =20 > examples were very full of features. I didn't know where to start. > > - > Martin Although just a round-robin cooperative scheduler is not enough for me, It seems a good idea and could be used in a very large fraction of the existing designs. Yes, my code can be simplified to become just a simple cooperative scheduler. As a benefit, it would become even smaller. Just to illustrate, the example application uses 3582 instruction words and 4832 bytes of RAM in a PIC32MX, and 2114 instruction words and 1624 bytes of RAM in a PIC24. Without some of the preemptive code it can be made to fit in even the smallest PIC24 device. I'll think about it a little. Best regards, Isaac --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .