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] [June 2009 Threads] where to set heap_1, heap_2, heap_3?Posted by Toan Pham on June 13, 2009 Hi,
I read through the online documentation and looked at some of the demo application and I couldn't find where to set the type of memory manager to use. how/where do i specify what type of memory model i want to use: heap 1, heap 2, or heap 3.
I am a notice to freeRtos, please help. thank you.
RE: where to set heap_1, heap_2, heap_3?Posted by sotd on June 13, 2009 heap_1 is in heap_1.c, heap_2 in heap_2.c, heap_3 in heap_3.c. Include one c file in your project to use that heap.
RE: where to set heap_1, heap_2, heap_3?Posted by Toan Pham on June 13, 2009
yeah, i thought so; just that the demo projects i looked at SAM7S eclipse and the SAM7X Rowley did not include those files.
or maybe i was included somewhere that i missed.
RE: where to set heap_1, heap_2, heap_3?Posted by Toan Pham on June 13, 2009 When i added heap_2.c, i got duplicate declaration to pvPortFree etc....
I need to include heap_2.c in my webservice.c file to debug the memory manager.
I've looked all the files in the source code and I couldn't find heap_2 included anywhere else.
am i missing something?
RE: where to set heap_1, heap_2, heap_3?Posted by MEdwards on June 14, 2009 You can only have one of heap_1, heap_2 or heap_3 included at any one time. If you ap was compiling already then you must have had one of the three files included already. If you want to add a different heap_x version then you must first remove the version that is being used.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|