lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Which memory is allocated statically, and which dynamically


From: Sebastian Gniazdowski
Subject: [lwip-users] Which memory is allocated statically, and which dynamically?
Date: Sat, 28 Apr 2018 16:44:45 +0200

Hello,
currently I can tell that:

MEMP_NUM_PBUF, PBUF_POOL_SIZE are statically allocated (but still used in non-ROM situations like socket API)

every MBOX, since passed to sys_mbox_new(), is dynamically allocated

What with:

MEMP_NUM_NETBUF
MEMP_NUM_NETCONN
MEMP_NUM_TCPIP_MSG_API
MEMP_NUM_TCPIP_MSG_INPKT
MEMP_NUM_RAW_PCB and other *_PCB
ARP_QUEUEING, ARP_QUEUE_LEN
?

--
Best regards,
Sebastian Gniazdowski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]