Skip to content

Arduino core loopTask stack size is too small #2

@mathiasbredholt

Description

@mathiasbredholt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions