Files
arduino-esp32/cores/esp32
Rodrigo Garcia 82ec74a072 Adds support to change LoopTask Stack size (#6025)
## Summary
Arduino ```setup()``` and ```loop()``` run under a Task with a fixed Stack size of 8KB.
Users may want to change this size.

This PR adds this possibility by just adding a line of code, as for example:
``` dart
ESP_LOOP_TASK_STACK_SIZE(16384);

void setup() { 
}

void loop() { 
}
```
## Impact
None. It adds a new functionality to ESP32 Arduino.
If ```ESP_LOOP_TASK_STACK_SIZE(newSize);``` is not declared/used, it will compile the sketch with the default stack size of 8KB.

## Related links
fix #6010 

https://github.com/espressif/arduino-esp32/issues/6010#issuecomment-992701658
Thanks @igrr for the suggestion!
2021-12-20 13:10:36 +02:00
..
2021-03-11 12:11:53 +02:00
2016-10-06 07:09:44 -06:00
2021-11-18 14:25:04 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-04-15 14:32:03 +03:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2021-10-01 17:52:29 +03:00
2016-12-12 01:32:55 +02:00
2016-12-12 01:32:55 +02:00
2021-03-11 12:11:53 +02:00
2021-03-11 12:11:53 +02:00
2020-11-08 04:55:59 +02:00
2021-01-11 11:43:10 +02:00
2016-10-06 07:09:44 -06:00
2018-06-27 09:01:06 +02:00
2016-10-06 07:09:44 -06:00
2019-05-11 11:16:05 +03:00
2021-10-01 17:52:29 +03:00
2021-10-01 17:52:29 +03:00
2016-10-06 07:09:45 -06:00
2020-11-02 22:11:26 +02:00