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] [May 2008 Threads] What are the max. no. of priorities & tasks ?Posted by Sachin Bhujbal on May 13, 2008 Dear All, Can anybody tell me what is the max no. of priorities in FreeRTOs ? According to FreeRTOSConfig.h its max value is upto 0xFFFF FFFF(i.e. 4 bytes ). What is the max. no. of tasks possible in FreeRTOs ? Please help me in this topic. Thanks in advance
RE: What are the max. no. of priorities & tasks ?Posted by Dave on May 13, 2008 You can keep adding tasks until you run out of RAM. There is no maximum.
RE: What are the max. no. of priorities & tasks ?Posted by Sachin Bhujbal on May 13, 2008 Dear Davedoors, Thanks for Your reply about tasks. But what about max no. of priorities in FreeRTOs ? Is it as big as a unsigned long ? Please reply, Thanks.
RE: What are the max. no. of priorities & tasPosted by saiberion on May 13, 2008 The maximum number of priorities can be defined with configMAX_PRIORITIES in FreeRTOSConfig.h
But I don't think it's usefull to use more than 5 priorities. And as far as I know: the more priorities the longer the switching time
RE: What are the max. no. of priorities & tasks ?Posted by Sachin Bhujbal on May 13, 2008 Saiberian, Thanks for reply. I know that but what is max value which we can configure there ? One more thing that I didn't get any defination tskIDLE_PRIORITY in source code. Can You tell where it is defined or what is it ? Thanks.
RE: What are the max. no. of priorities & tasks ?Posted by Richard on May 13, 2008 I think its an odd question - I don't see why its useful - but the actually answer is the maximum value a variable of type portBASE_TYPE can hold. So if portBASE_TYPE is 32bit, this would be 0xffffffff.
tskIDLE_PRIORITY is 0, the tsk on the front tells you its defined in task.h. I'm sure this information is on the WEB site.
Regards.
RE: What are the max. no. of priorities & tasks ?Posted by Sachin Bhujbal on May 14, 2008 Dear Richard, Thanks for Your reply.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|