Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Boundary conditions for FreeRTOS Usage

Posted by bgrakesh on January 21, 2019

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

Posted by richarddamon on January 21, 2019

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).

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers





STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner