lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] using lwip with static memory


From: Simon Goldschmidt
Subject: Re: [lwip-users] using lwip with static memory
Date: Thu, 4 Apr 2019 19:34:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1


On 04.04.19 07:18, Ranran wrote:
Hello,

Is it possible to use lwip with static memory ?
We need to use lwip with safertos (safertos does not support heap).

Is it done by enabling MEM_USE_POOLS=1

Exactly. You then have to define the pools for mem_malloc to use. You
also need to enable MEMP_USE_CUSTOM_POOLS and provide a file
"lwippools.h" that sets the element size and count of pools used instead
of the heap.

Regards,
Simon



reply via email to

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