diff --git a/CHANGELOG.md b/CHANGELOG.md index 5045a43ee..b24ca3798 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file. - Berry add module ``import persist`` - Support for BL0942 energy monitor (#13259) - Support for HM330X SeedStudio Grove Particule sensor (#13250) +- ESP32 restore GPIO16/17 if no PSRAM was found ### Breaking Changed - ESP32 LVGL updated to v8.0.2 diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 7a89ea689..95c707405 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -222,6 +222,13 @@ void setup(void) { #endif #endif +#ifdef CONFIG_IDF_TARGET_ESP32 + // restore GPIO16/17 if no PSRAM is found + if (!FoundPSRAM()) { + gpio_reset_pin(GPIO_NUM_16); + gpio_reset_pin(GPIO_NUM_17); + } +#endif RtcPreInit(); SettingsInit();