Skip to content

Arduino core loopTask stack size is too small #2

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

Open
mathiasbredholt opened this issue Oct 29, 2019 · 0 comments
Open

Arduino core loopTask stack size is too small #2

mathiasbredholt opened this issue Oct 29, 2019 · 0 comments

Comments

@mathiasbredholt
Copy link
Owner

mathiasbredholt commented Oct 29, 2019

The Arduino esp32 framework currently starts the task that's responsible for running void loop() with a stack size of 8192 bytes. In the tests I've done, this is not enough for most libmapper applications, causing a stack overflow.

The stack size can be changed in hardware/esp32/1.0.4/cores/esp32/main.cpp.
16384 bytes works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant