Hi David,
You can reduce the number of receive and transmit buffers. The minimum should be 2.
If you are not going to need UDP, you can disable UDP.
Then if you look into the map file the variables which are requiring more memory are:
The memp_memory_PBUF_POOL_base is related to the Packet buffer pool size (PBUF_POOL_SIZE). This one is used in the network interface for receiving packets. You can reduce this one to 4. In case of high load you will start loosing packets, i.e. not able to allocate a pbuf.
http://www.nongnu.org/lwip/2_0_x/group__pbuf.html
We are planning to add zero copy RX in a next release. This will reduce the memory requirements and will increase RX throughput, i.e. network driver will copy received data directly to the pbuf.
Regards,
Jesus
Regards,
Jesus
You can reduce the number of receive and transmit buffers. The minimum should be 2.
If you are not going to need UDP, you can disable UDP.
Then if you look into the map file the variables which are requiring more memory are:
Code:
.bss.memp_memory_PBUF_POOL_base
0x1ffe9584 0x6104 ./Dave/Generated/ETH_LWIP/lwip/core/memp.o
0x1ffe9584 memp_memory_PBUF_POOL_base
http://www.nongnu.org/lwip/2_0_x/group__pbuf.html
We are planning to add zero copy RX in a next release. This will reduce the memory requirements and will increase RX throughput, i.e. network driver will copy received data directly to the pbuf.
Regards,
Jesus
Regards,
Jesus