Skip to content

Conversation

@coylen
Copy link
Contributor

@coylen coylen commented Nov 23, 2020

Added guarded define to set the stacksize on the main looptask.
Advantage of this is that build_flags can be used to provide a different value for the stack size should it be neccessary
default behaviour is unaffected

Added guarded define to set the stacksize on the main looptask.
Advantage of this is that build_flags can be used to provide a different value for the stack size should it be neccessary
default behaviour is unaffected
#include "esp_task_wdt.h"
#include "Arduino.h"

#ifndef LOOP_STACK_SIZE
Copy link
Member

@me-no-dev me-no-dev Dec 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rename to CONFIG_ARDUINO_LOOP_STACK_SIZE so I can add this to the IDF Kconfig as well

@me-no-dev me-no-dev changed the title Make looptask stack size configurable [1.0.5] Make looptask stack size configurable Dec 1, 2020
changed variable name to CONFIG_ARDUINO_LOOP_STACK_SIZE as requested by @me-no-dev
@me-no-dev me-no-dev merged commit 7d5bf9e into espressif:master Dec 2, 2020
@me-no-dev
Copy link
Member

thanks :)

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

Successfully merging this pull request may close these issues.

2 participants