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] [July 2012 Threads] can i put some code in idle task ?Posted by vincent on July 25, 2012 hi :
I want to add seed watchdog code in idle task, does it bring other problem ?
vincent
RE: can i put some code in idle task ?Posted by Richard on July 25, 2012 Yes you can add code into the idle, but the code must never attempt to block (call a delay function, or call an API function with a block time specified).
See http://www.freertos.org/RTOS-idle-task.html
Regards.
RE: can i put some code in idle task ?Posted by vincent on July 26, 2012 hi :
I set configUSE_IDLE_HOOK to 1 and define void vApplicationIdleHook( void ),, then put my code in the functions , that's all job I do ?
vincent
RE: can i put some code in idle task ?Posted by Richard Walters on July 31, 2012 Yes, that's exactly what vApplicationIdleHook is there for.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|