mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 01:15:33 +00:00
bd3287a554
Add a new `sram1_as_iram` option under `esp32 > framework > advanced` that enables CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM, reclaiming 40KB of SRAM1 memory as additional IRAM on the original ESP32. This requires a bootloader from ESP-IDF v5.1 or later. USB flashing updates the bootloader automatically, but OTA does not. At boot, ESPHome now detects the bootloader version and suggests enabling this option when the bootloader is compatible.