Platform Package reference: Function EwAddHeapMemoryPool()

Description of the function EwAddHeapMemoryPool() available in all Platform Packages for ANSI C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.


void EwAddHeapMemoryPool( void* aAddress, long aSize )



The start address of the memory area to add to the memory pool.


The size of the memory area in bytes.


The function EwAddHeapMemoryPool() adds to the heap manager a new memory area. From now the memory is used by subsequent memory allocation operations. Once added the memory area can't be removed again without deinitializing of the entire heap manager by calling the function EwDoneHeap().