mirror of
https://github.com/esphome/esphome.git
synced 2026-03-01 02:14:19 -07:00
dbe8e39aa92214deac6395d89bf5a48dae7ecb61
The 1460-byte MULTIPART_CHUNK_SIZE buffer was moved from heap to stack in #13549, but the httpd task stack is only ~4096-5632 bytes. This causes a stack overflow crash when processing OTA uploads, especially on configs with BLE components that add additional stack pressure. Move it back to heap since this buffer is only used during OTA uploads (not a hot path), so heap fragmentation is not a concern here. Fixes stack overflow: "A stack overflow in task httpd has been detected"
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
524 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
