Synopsis
void platform_private_init_heaps(CTL_NET_MEM_DRIVER_t *self,
                                 void *buf,
                                 size_t byte_count);
Description

platform_private_init_heaps initializes the system heap and the network heap using the memory pointed to by buf of byte_count bytes. The example implementation partitions the memory by allocating 3/4 to the network heap and 1/4 for the system heap.

Once partitioned, the network driver self is initialized with methods and data to allocate memory from the network heap.