Re: [lwip-users] MEM_USE_POOLS issue

2019-11-07 Thread goldsimon
Am 7. November 2019 08:54:25 MEZ schrieb mtimm : >Simon, >Thank you. It works better ;) >One more question about purpose of using custom pools. >LwIP uses few internal pools like PBUF_POOL_base, TCP_PCB_BASE, >UDP_PCB_BASE. >What can be the reason of using additional custom pools? Is it about >p

Re: [lwip-users] MEM_USE_POOLS issue

2019-11-07 Thread mtimm
Simon, Thank you. It works better ;) One more question about purpose of using custom pools. LwIP uses few internal pools like PBUF_POOL_base, TCP_PCB_BASE, UDP_PCB_BASE. What can be the reason of using additional custom pools? Is it about preparing memory for copying data from PBUF_POOL_base for a

Re: [lwip-users] MEM_USE_POOLS issue

2019-11-05 Thread Simon Goldschmidt
"mtimm" wrote: > It looks like it stucked inside memp_priv.h inside typedef > memp_pool_helper_t declaration. It is something wrong with the syntax. I am > not sure how memp_priv.h and memp_std.h work and it is hard for me to > eliminate this issue. > I would like to work with static allocation w

Re: [lwip-users] MEM_USE_POOLS issue

2019-11-05 Thread mtimm
Simon, It looks like it stucked inside memp_priv.h inside typedef memp_pool_helper_t declaration. It is something wrong with the syntax. I am not sure how memp_priv.h and memp_std.h work and it is hard for me to eliminate this issue. I would like to work with static allocation which is available b

Re: [lwip-users] MEM_USE_POOLS issue

2019-11-05 Thread goldsi...@gmx.de
Am 05.11.2019 um 08:59 schrieb mtimm: Hello, I have just successfully accomplished my first try with LwIP stack (v. 2.1.2). This was simple app using UDP and dynamic allocation (PBUF_RAM). Now I would like to switch into static allocation (PBUF_POOL). According to instructions I found on wiki pa

[lwip-users] MEM_USE_POOLS issue

2019-11-04 Thread mtimm
Hello, I have just successfully accomplished my first try with LwIP stack (v. 2.1.2). This was simple app using UDP and dynamic allocation (PBUF_RAM). Now I would like to switch into static allocation (PBUF_POOL). According to instructions I found on wiki page (https://lwip.fandom.com/wiki/Custom_