I have just started using FreeRTOS and have spent the last few days fighting with eclipse, compilers …, but have spent some time reading forums and actually playing with it working! I am using a dsPIC33EP256MC502. (I initially looked at it a couple of weeks ago - before Martin Hollenweger posted changes for the dsp24E devices)
I don’t know if any one is interested, but I rewrote the port.c file to work for all (so far) of the pic24 families and not need a separate assembly files. At the same time I removed the restriction on setting the kernel priority.
Secondly, I have added code to use the hardware stack bounds check - I have seen a number of posts about this but no resolution. If this is useful, I need guidance on how to get the stack size info to the portable layer - I added a parameter to pxPortInitialiseStack. I am also interested in writing code that would use this to monitor stack usage and report how much was really used.
Thirdly, It is no longer (in the current port) necessary to use the omit-frame-pointer compiler option and so the comment should be removed from the web pages (and a good thing as the current XC16 compiler ignores the option for the 24E devices!)
I’m sure more gremlins are going to pop up, but today I am a very happy camper!