Setting up heap memory
In this section:
The size of the heap is defined in the linker configuration file as a block.:
define block HEAP with size = _HEAP_SIZE, alignment = 8{ };
place in RAM {block HEAP};Specify the appropriate size for the symbol HEAP_SIZE. If you use a heap, you must allocate at least 50 bytes for it.
For more information, see Heap memory handlers.