rtel wrote on Wednesday, August 12, 2015:
Looking again, I think I understand Clark’s original comments now.
Really old versions of FreeRTOS needed a constant to be defined to allow the kernel code to pull in the header files that were correct for the port being used. That scheme was scrapped some time ago in favour of simply updating the compiler’s include path to include the correct constant - but the constants themselves were kept in the header files for backward compatibility - until the last release when they were moved to a header fle called deprecated_definitions.h. Although depricated_definitions.h is included automatically, there is a comment saying the definitions in the file should no longer be used…
…however for the PIC24/dsPIC port (and only that port, as far as I know) the definition is still used for the reason stated in my previous post in this thread. So for that port, the comment is not correct - but the demo project in the FreeRTOS download should still build ok.