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] [May 2015 Threads]
On a ATmega1284P ( 16Kb Ram) I have a program with 5 task running OK. I use FreeRtos 8.2.1 timers and compile with GCC.
All 5 task use only 3Kb Ram. When I define a new task, the timer task do no start any more. I'm using heap.3. How many tasks are supposed to run in this arquitecture and what should I do to add more tasks. Thanks.
You can create tasks until you run out of RAM. It does not sound like you
have run out of RAM, but have probably run out of heap. If you are using
heap3 then the mount of heap you have is defined by the linker, as heap3
just wraps the malloc() and free() provided by your compiler. If you
increase the size of the heap provided by your compiler you will probably
be able to create more tasks.
http://www.freertos.org/a00111.html
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.