I have spent a little bit of time looking at what is required to get freeRTOS working on a PIC18F8520. Now from initial reading before downloading freeRTOS it all looked pretty alright and standard demos were available. These demos were in MPLAB V8 etc but it seemed that most of the work should have been done.
Unfortunately I only have MPLABX with xc8 compiler. And the problems just continue from one to the next with the compiler just throwing out rubbish errors. Such things include the asm (asm() instead of __asm) directive, I can’t seem to get the compiler to recognise the \ (macro newline character) and interrupts are very called differently.
Most of these are porting issues of course but as this was purely an exercise to familiarize myself with freeRTOS it feels like it is not worth the hassle. I only have a pic18f8520 at hand btw.
I found a few posts going back a few years now which did confirm that freeRTOS wasn’t ported to xc8 etc but I was hoping to just get a quick update on that. There is also quote here stating that no one supports this setup:
Has anyone one actually ported the freeRTOS to onto xc8?
Also unless I am have not seen them, I have not found any demos for the new MPLABX for the xc16 compiler. Is there any plan in the future to bring freeRTOS into the MPLABX IDE?