I got the same error compiling ARM7_LPC2368_Eclipse:
> make
…/…/…/Source/tasks.o: In function `prvListTaskWithinSingleList’:
…\freertos\Demo\ARM7_LPC2368_Eclipse\RTOSDemo/…/…/…/Source/tasks.c:1825: undefined reference to `usTaskCheckFreeStackSpace’
I think the problem arises in the fact that the function is declared if ONE of the following macros is set to 1:
The function is finally defined only if the INCLUDE_uxTaskGetStackHighWaterMark macro is set, but it is used in prvListTaskWithinSingleList, which is defined only if configUSE_TRACE_FACILITY is set.
I cannot test the following fix, but changing line 1835 of tasks.c from