Quality RTOS & Embedded Software

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


Add queues to the demo

Posted by Asier Gonzalez on June 17, 2008
I know that if I want to add a task to a port´s demo, first I have to delete one of them in order to being allocated into the RAM but I have a question. It is the same for the queues or I can create a new queue without deleting another one?
On the demo I have using (msp430F449) there are 9 task + idle task and 1 queue? how many queues can I add without RAM overflow?

RE: Add queues to the demo

Posted by Richard on June 20, 2008
Check the return value when you create a queue - if it is null then you did not have enough heap to create the queue. If you run out of heap then either increase the heap size (configTOTAL_HEAP_SIZE within FreeRTOSConfig.h), or remove some more of the demo tasks.


RE: Add queues to the demo

Posted by Asier Gonzalez on June 20, 2008
Thanks Richard.

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

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

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

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

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