Change ESP32 disable PSRAM check (and on restart some relay toggles) with #define DISABLE_PSRAMCHECK (#21266)

This commit is contained in:
Theo Arends 2024-12-15 17:36:37 +01:00
parent fba6a806ac
commit 90e0595b7f
3 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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