Quality RTOS & Embedded Software

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


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 ]    [ Sitemap ]    [ ]

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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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