>> No! In general case, sizes are NOT different. At compile-time macro >> expansions define each size, but at run-time sys_mbox_new() cannot match >> given >> numeric value to one of macros if their values are equal. That's the >> problem !
> What's the problem there? You can just use one pool then. The > number of mboxes allocated shouldn't be limited by the sys port: > instead, you should have enough mboxes to allocate all raw, top and > UDP connections. Limiting the number of these is the expected way to limit > memory usage. Ok. I give up. I just tried to explain that I have to implement own memory pool mechanism since lwip's one can't be used. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
