2019-11-12 06:56 AM
As I know from ST Cube S/W vase, third-party S/W(ex: lwIP, FatFS, etc) using FreeRTOS is using memory management by FreeRTOS(heap_1.c, heap_2.c, heap_4,c), etc.
I think that TouchGFX internal engine doesn't use uHeap area.
also, I think that TouchGFX use .heap area by application.ld(GCC build).
I checked _sbrk() implementation in gccstubs.cpp.
It means that new() is called, dynamic memory is allocated from .heap area.
Is it correct ?
2019-11-29 05:33 AM
Hi Jb,
TouchGFX does not use dynamic allocation of memory, so that's all up to the user to configure (via heap_x.c in the case of FreeRTOS). and configuring the .heap area if not using an RTOS.
/Martin