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] [March 2017 Threads]
Hello,
After creation of a task or queue with createstatic, I verify my heap free space but I found that it still the same as I define it in freertosconfig.h ?
I'm using heap 1 and I set the static allocation to 1 and freertos v 9.00
So could you tell me where those tasks are created exacetly ?
If you use the 'CreateStatic' version then you are explicitly using
statically allocated memory, by which I mean, memory allocated by the
compiler at compile time. That is distinct from dynamically allocated
memory, which is allocated from the heap at run time.
See the description of the puxStackBuffer and pxTaskBuffer parameters on
the following documentation page:
http://www.freertos.org/xTaskCreateStatic.html
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.