Am studying FreeRTOS from the documentation at the FreeRTOS web site and related. I am starting to learn that FreeRTOS provides "example" heap management algorithms. Some of which are called "heap_1", "heap_2", "heap_3", "heap_4" and "heap_5". My current thinking is that the ESP-IDF provides its own heap management functions and the FreeRTOS heap interface functions called "pvPortMalloc()" and "pvPortFree()" are mapped to the ESP-IDF implementations.
Is this a correct assumption?
I am trying not to study information that isn't pertinent (for example FreeRTOS heap management) if it isn't applicable in the ESP32 ESP-IDF environment.
[Answered]: FreeRTOS and heap management
[Answered]: FreeRTOS and heap management
Last edited by kolban on Mon Nov 06, 2017 12:40 am, edited 1 time in total.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 9761
- Joined: Thu Nov 26, 2015 4:08 am
Re: [Answered]: FreeRTOS and heap management
Indeed. Up to a few months ago, esp-idf used a modified version of the heap4.c example (modified to support multiple tags/capabilities). At the moment, the heap allocator we use is an entirely new implementation that better supports our needs.
Who is online
Users browsing this forum: Google [Bot] and 103 guests