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] [February 2012 Threads] Creating tasks within tasksPosted by ragesh on February 14, 2012 I have taken the lpc2148 demo code provided by J.C.Wren and was modifying it to add one more command processing task to it.This task I am creating before the scheduler starts.Now from this task I need to create another task which is not getting spawned.Is there any limitation in FreeRTOS for doing this?
RE: Creating tasks within tasksPosted by Dave on February 14, 2012 You have probably just run out of FreeRTOS heap. Try increasing configTOTAL_HEAP_SIZE in FreeRTOSConfig.h. If you can't link your application after increasing the heap you will have to optimize your RAM usage instead by reducing stack sizes, combining tasks, looking for other RAM savings.
RE: Creating tasks within tasksPosted by ragesh on February 16, 2012 Thanks for the quick response. I verified that I have not run out of FreeRTOS heap. Meanwhile, when I removed the optimization in the Makefile(it wa O3), the code behaves correctly. Still could not figure out what exactly was going wrong
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|