Boundary conditions for FreeRTOS Usage

To test worst(boundry) condition of FreeRTOS usage:
  1. What is the range of counting semaphore we can have? How many we can create?
  2. What is the maximum number of queues can be created?
  3. What is the maximum number of lists can be created?
  4. What is the maximum number of tasks can be created?

Boundary conditions for FreeRTOS Usage

To my knowledge, the limit for the number of all of these is based on the amount of memory your system has. FreeRTOS puts things into linked lists, not fixed sized arrays, when it needs to manage these things as a group, so has no built in upper limit of them. The one thing that would have a limit is the range of a counting semaphore, (and similarly the size of queue) would be based on the size of the count field in it, which I think is a portBASE_TYPE, which would generally be an int (source code is provided, so you could double check that).