-
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
examples/gcoap_dtls: Increase stack size #17735
Conversation
looks like |
@@ -94,3 +94,4 @@ ifndef CONFIG_KCONFIG_MODULE_GCOAP | |||
GCOAP_RESEND_BUFS_MAX ?= 2 | |||
CFLAGS += -DCONFIG_GCOAP_RESEND_BUFS_MAX=$(GCOAP_RESEND_BUFS_MAX) | |||
endif | |||
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(2*THREAD_STACKSIZE_LARGE\) |
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.
Feels a bit overkill - what is ps
saying?
I suppose this is still needed, right? |
It is also needed with |
I'm cleaning up my stale branches currently. I think this is actually still needed. Any change to get this in? (Once someone fixes the surprising amount of stack consumption, this is a change that is trivial to revert.) |
bors merge |
17735: examples/gcoap_dtls: Increase stack size r=maribu a=maribu ### Contribution description As the title says. The stack size was copied over from `tests/pkg_tinydtls_sock_async` cargo-cult style. Also some typos in the README were fixed. ### Testing procedure Previously on my Nucleo-F767ZI, the CoAP client triggered the MPU stack guard on sending the DTLS hello. With this, the board no longer crashes. ### Issues/PRs references None Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
bors cancel |
Canceled. |
17735: examples/gcoap_dtls: Increase stack size r=maribu a=maribu ### Contribution description As the title says. The stack size was copied over from `tests/pkg_tinydtls_sock_async` cargo-cult style. Also some typos in the README were fixed. ### Testing procedure Previously on my Nucleo-F767ZI, the CoAP client triggered the MPU stack guard on sending the DTLS hello. With this, the board no longer crashes. ### Issues/PRs references None 19184: pkg/tinydtls: bump version r=maribu a=benpicco Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de> Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
bors cancel let's see if we can get three PRs into the merge train. |
Canceled. |
17735: examples/gcoap_dtls: Increase stack size r=maribu a=maribu ### Contribution description As the title says. The stack size was copied over from `tests/pkg_tinydtls_sock_async` cargo-cult style. Also some typos in the README were fixed. ### Testing procedure Previously on my Nucleo-F767ZI, the CoAP client triggered the MPU stack guard on sending the DTLS hello. With this, the board no longer crashes. ### Issues/PRs references None 19184: pkg/tinydtls: bump version r=maribu a=benpicco Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de> Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
bors cancel |
Canceled. |
17735: examples/gcoap_dtls: Increase stack size r=maribu a=maribu ### Contribution description As the title says. The stack size was copied over from `tests/pkg_tinydtls_sock_async` cargo-cult style. Also some typos in the README were fixed. ### Testing procedure Previously on my Nucleo-F767ZI, the CoAP client triggered the MPU stack guard on sending the DTLS hello. With this, the board no longer crashes. ### Issues/PRs references None 19182: pkg/libfixmath: bump version r=maribu a=benpicco 19184: pkg/tinydtls: bump version r=maribu a=benpicco Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de> Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Build failed (retrying...): |
17735: examples/gcoap_dtls: Increase stack size r=maribu a=maribu ### Contribution description As the title says. The stack size was copied over from `tests/pkg_tinydtls_sock_async` cargo-cult style. Also some typos in the README were fixed. ### Testing procedure Previously on my Nucleo-F767ZI, the CoAP client triggered the MPU stack guard on sending the DTLS hello. With this, the board no longer crashes. ### Issues/PRs references None Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
Build failed: |
Also fix some typos in the readme.
08d8d8d
to
965b555
Compare
rebased and ran the tool to update the bors retry |
🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
Build succeeded: |
Thx |
Contribution description
As the title says. The stack size was copied over from
tests/pkg_tinydtls_sock_async
cargo-cult style. Also some typos in the README were fixed.Testing procedure
Previously on my Nucleo-F767ZI, the CoAP client triggered the MPU stack guard on sending the DTLS hello. With this, the board no longer crashes.
Issues/PRs references
None