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] [October 2016 Threads] Free RTOS heap usagePosted by omermiranda on October 27, 2016 HI,
I am using free rtos on STM32 M0 controller. I have defined configTOTALHEAPSIZE ( ( size_t ) ( 6500 ) ).
I have created 4 task with 128 bytes stack each, 2 queues of length 10 and 2 mutexs.
I want to know the heap used for this configurations. So I used the function xPortGetFreeHeapSize(). But this function returns 2924 value. I am a little confused as to how iam consuming (6500 - 2924 = 3576)
Can anyone please explain?
Thanks!
Free RTOS heap usagePosted by omermiranda on October 27, 2016 Hi,
To add to the above, I am using heap_4.
Free RTOS heap usagePosted by rtel on October 27, 2016 I would expect there to be approximately 5K remaining - minus however
much storage the queues are using. You say the queues or of length 10,
but 10 what? 10 bytes?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|