Closed
Description
Hardware:
Board: Heltec ESP32
Core Installation version: 1.0.5
Description:
Updating to the ESP32 Arduino core 1.0.5 I see there is now a define for CONFIG_ARDUINO_LOOP_STACK_SIZE in main.cpp, how can I set that? I've tried the sketch below but it doesn't get picked up.
Sketch:
#define CONFIG_ARDUINO_LOOP_STACK_SIZE 8192*4
void setup() {
Serial.begin(115200); Serial.println();
Serial.println(uxTaskGetStackHighWaterMark(NULL));
}
void loop() {
}
Debug Messages:
That sketch outputs 7524, whereas if I just update the stack size in main.cpp then uxTaskGetStackHighWaterMark does show the change.
Thanks for any pointers.