rtel wrote on Sunday, January 27, 2008:
I presume you are using GCC?
Using an unmodified GCC demo I tried adding vTaskSuspend( NULL ); within a task and as expected it failed to link. Then I changed the definition INCLUDE_vTaskSuspend to 1 in FreeRTOSConfig.h to include the file, and then the project compiled and linked without any errors.
From the files you sent I can see that you have already set INCLUDE_vTaskSuspend to 1 so I don’t know why your code would not build. Have you made any other changes?
Regards.