rtel wrote on Wednesday, November 06, 2013:
You will find some examples for the PIC18 in the FreeRTOS Interactive site, but generally, although there is a port, it is not recommended to run a preemptive OS on a PIC18. The biggest issue is the segmented memory, and what happens when a task stack crosses a memory boundary. Plus, generally, the compiler does not generate reentrant code.
Regards.