mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Change ESP32 disable PSRAM check (and on restart some relay toggles) with #define DISABLE_PSRAMCHECK
(#21266)
This commit is contained in:
parent
fba6a806ac
commit
90e0595b7f
@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Breaking Changed
|
### Breaking Changed
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- ESP32 disable PSRAM check (and on restart some relay toggles) with `#define DISABLE_PSRAMCHECK` (#21266)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
@ -121,6 +121,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
|||||||
### Breaking Changed
|
### Breaking Changed
|
||||||
|
|
||||||
### 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
|
### Fixed
|
||||||
|
|
||||||
|
@ -409,6 +409,7 @@ void setup(void) {
|
|||||||
#endif // DISABLE_ESP32_BROWNOUT
|
#endif // DISABLE_ESP32_BROWNOUT
|
||||||
|
|
||||||
#ifndef FIRMWARE_SAFEBOOT
|
#ifndef FIRMWARE_SAFEBOOT
|
||||||
|
#ifndef DISABLE_PSRAMCHECK
|
||||||
#ifndef CORE32SOLO1
|
#ifndef CORE32SOLO1
|
||||||
// restore GPIO5/18 or 16/17 if no PSRAM is found which may be used by Ethernet among others
|
// restore GPIO5/18 or 16/17 if no PSRAM is found which may be used by Ethernet among others
|
||||||
if (!FoundPSRAM()) {
|
if (!FoundPSRAM()) {
|
||||||
@ -422,6 +423,7 @@ void setup(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // CORE32SOLO1
|
#endif // CORE32SOLO1
|
||||||
|
#endif // DISABLE_PSRAMCHECK
|
||||||
#endif // FIRMWARE_SAFEBOOT
|
#endif // FIRMWARE_SAFEBOOT
|
||||||
#endif // CONFIG_IDF_TARGET_ESP32
|
#endif // CONFIG_IDF_TARGET_ESP32
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user