-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable stats in lwIP config #1932
Comments
@igrr what is the status of this? If it's not done, maybe it should be pushed back? |
@devyte, as suggested, I made some tests with lwip2. in lwipopts.h:
usage:
Flash usage / Ram usage / free heap (a minute after sketch starts) 367812 / 40680 heap: 32168 (enabled + include + stats_display()) to sum up: enabled, no display: +466 ram +1206 flash -520 heap The
|
That is significant heap usage just by enabling it. I suggest making an option in the IDE to enable/disable this, and have it disabled by default. If someone wants it, it's available, but let's avoid the mem usage impact for the rest. |
What about documenting this in tools/sdk/lwip2/README.md ? |
In that case, I think it would be better to have a formal documentation, i.e.: readthedocs. Something like an lwip customization section. |
Closing as the way to recompile lwIP is documented. |
lwIP provides some stats which may be useful to benchmark library/network performance and do some troubleshooting.
stats.h
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: