FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [January 2008 Threads] vTaskResume & vTaskSuspendPosted by Breno Pinheiro on January 26, 2008 Hi, I got undefined reference error from compiler when tried to use those commands regardless of having configured the INCLUDE_vTaskSuspend to 1 in RTOSconfig file. Is there anything else to be configured?
Best wishes!!!
RE: vTaskResume & vTaskSuspendPosted by Breno Pinheiro on January 26, 2008 I fixed the previous error doing a make clean. But the command is not working! I do a vTaskSuspend(xHandle) but it doesn't stop the thread!!!
Thanks!
RE: vTaskResume & vTaskSuspendPosted by Richard on 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|