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 = 0x1000, alignment = 8{ };
place in RAM {block HEAP};Specify the appropriate size for your application. If you use a heap, you must allocate at least 50 bytes for it. Note that in 64-bit mode, the heap alignment is 16.