-
Notifications
You must be signed in to change notification settings - Fork 2k
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
pkg/lwip: overiddable settings in lwipopts.h #12948
Merged
benpicco
merged 2 commits into
RIOT-OS:master
from
gschorcht:pkg/lwip/lwipopts_fix_cleanup
Dec 16, 2019
Merged
pkg/lwip: overiddable settings in lwipopts.h #12948
benpicco
merged 2 commits into
RIOT-OS:master
from
gschorcht:pkg/lwip/lwipopts_fix_cleanup
Dec 16, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gschorcht
added
Area: pkg
Area: External package ports
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Platform: ESP
Platform: This PR/issue effects ESP-based platforms
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Type: cleanup
The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
labels
Dec 14, 2019
@miri64 A review from you as the owner would be welcome. @benpicco or @MrKevinWeiss might be willing to test it. |
gschorcht
changed the title
Pkg/lwip/lwipopts fix cleanup
pkg/lwip: overiddable settings in lwipopts.h
Dec 14, 2019
benpicco
reviewed
Dec 15, 2019
benpicco
reviewed
Dec 15, 2019
LGTM. :-) |
benpicco
approved these changes
Dec 15, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then please squash :)
This definition is platform dependent and should be therefore done with CFLAGS in ESP332's Makefile.
gschorcht
force-pushed
the
pkg/lwip/lwipopts_fix_cleanup
branch
from
December 15, 2019 22:51
e88f644
to
aa3f132
Compare
@benpicco Squashed. |
Thanks for reviewing and merging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: pkg
Area: External package ports
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Platform: ESP
Platform: This PR/issue effects ESP-based platforms
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Type: cleanup
The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR provides the following changes:
TCPIP_THREAD_STACKSIZE
is made overridable. On some platforms the default stack size is too small forlwIP
'stcpip_thread
so that the default stack size has to be overriden.TCPIP_THREAD_PRIO
for ESP32 is removed. This is now defined byCFLAGS
in ESP32's Makefile.Testing procedure
Flash
tests/lwip
with the definition ofTCPIP_THREAD_STACKSIZE
for any ESP32 board:Use command
ps
. The stack size for threadtcpip_thread
should be 3072 instead of the default stack size of 2048.Issues/PRs references
Figured out when testing PR #12903 for ESP32.