mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-10-05 02:10:56 +02:00
82ec74a07275e79e92ee4e7eb973ee30c2c00cd3
## 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!
Arduino core for the ESP32, ESP32-S2 and ESP32-C3
Need help or have a question? Join the chat at 
Contents
Development Status
Documentation
You can use Arduino-ESP32 Online Documentation to get all information about this project.
- Getting Started
- Installing (Windows, Linux and macOS)
- Libraries
- ESP-IDF as Component
- FAQ
- Troubleshooting
Supported Chips
Visit the supported chips documentation to see the list of current supported ESP32 SoCs.
Decoding exceptions
You can use EspExceptionDecoder to get meaningful call trace.
Issue/Bug report template
Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as Type: For reference.
Finally, if you are sure no one else had the issue, follow the Issue template or Feature request template while reporting any new Issue.
Contributing
We welcome contributions to the Arduino ESP32 project!
See contributing in the documentation for more information on how to contribute to the project.
Description
Languages
C
74.1%
C++
25.4%
Makefile
0.3%
CMake
0.2%