diff --git a/CHANGELOG.md b/CHANGELOG.md index d08abe70b..024175579 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. ### Breaking Changed ### Changed +- ESP32 disable PSRAM check (and on restart some relay toggles) with `#define DISABLE_PSRAMCHECK` (#21266) ### Fixed diff --git a/RELEASENOTES.md b/RELEASENOTES.md index c851fcfb0..9568d89be 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -121,6 +121,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm ### Breaking Changed ### Changed +- ESP32 disable PSRAM check (and on restart some relay toggles) with `#define DISABLE_PSRAMCHECK` [#21266](https://github.com/arendst/Tasmota/issues/21266) ### Fixed diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 94b611e1a..923bd7556 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -409,6 +409,7 @@ void setup(void) { #endif // DISABLE_ESP32_BROWNOUT #ifndef FIRMWARE_SAFEBOOT +#ifndef DISABLE_PSRAMCHECK #ifndef CORE32SOLO1 // restore GPIO5/18 or 16/17 if no PSRAM is found which may be used by Ethernet among others if (!FoundPSRAM()) { @@ -422,6 +423,7 @@ void setup(void) { } } #endif // CORE32SOLO1 +#endif // DISABLE_PSRAMCHECK #endif // FIRMWARE_SAFEBOOT #endif // CONFIG_IDF_TARGET_ESP32 #endif // ESP32