Value:
\
static
struct memp *memp_tab_ ##
name; \
\
DECLARE_LWIP_MEMPOOL_DESC(desc) \
LWIP_MEMPOOL_DECLARE_STATS_REFERENCE(memp_stats_ ##
name) \
LWIP_MEM_ALIGN_SIZE(
size), \
memp_memory_ ##
name ## _base, \
};
Declare a private memory pool Private mempools example: .h: only when pool is used in multiple .c files: LWIP_MEMPOOL_PROTOTYPE(my_private_pool); .c:
To relocate a pool, declare it as extern in cc.h. Example for GCC: extern u8_t attribute((section(".onchip_mem"))) memp_memory_my_private_pool[];
Definition at line 95 of file memp.h.