Memory is allocated to µC/TCP-IP device drivers through the µC/LIB memory module. You must enable and configure the size of the µC/LIB memory heap available to the system. The following configuration constants constant should be defined from within lib_cfg.h
and set to match the application requirements.#define LIB_MEM_CFG_ALLOC_EN DEF_ENABLED
:
#define LIB_MEM_CFG_HEAP_SIZE 58000
...
Excess heap space, if present, may be subtracted from the lib heap size configuration macro, LIB_MEM_CFG_HEAP_SIZE
, present in applib
_cfg.h
.