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] [June 2005 Threads] Suggestion: configCREATE_IDLE_TASKPosted by Nobody/Anonymous on June 28, 2005 From the FAQ, it states that:
"The idle task is created at the bottom of the function by a call to xTaskCreate(). Cut this line from Source\tasks.c and paste it into main().
Rationalise the number of tasks. The idle task is not required if:
1. Your application has a task that never blocks, and ... 2. Your application does not make any calls to vTaskDelete()."
I would like to suggest that a configCREATE_IDLE_TASK define be added to conditionally compile the code which creates the idle task in the vTaskStartScheduler. I currently use one copy of FreeRTOS in my source tree for all projects so it would be handy to just set up per-project configurations and not have to modify any of the base FreeRTOS code.
Thanks for all your great work!
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|