mirror of https://github.com/arendst/Tasmota.git
Merge pull request #13335 from s-hadinger/esp32_nopsram
ESP32 restore GPIO16/17 if no PSRAM was found
This commit is contained in:
commit
6914dba807
|
@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
|
||||||
- Berry add module ``import persist``
|
- Berry add module ``import persist``
|
||||||
- Support for BL0942 energy monitor (#13259)
|
- Support for BL0942 energy monitor (#13259)
|
||||||
- Support for HM330X SeedStudio Grove Particule sensor (#13250)
|
- Support for HM330X SeedStudio Grove Particule sensor (#13250)
|
||||||
|
- ESP32 restore GPIO16/17 if no PSRAM was found
|
||||||
|
|
||||||
### Breaking Changed
|
### Breaking Changed
|
||||||
- ESP32 LVGL updated to v8.0.2
|
- ESP32 LVGL updated to v8.0.2
|
||||||
|
|
|
@ -222,6 +222,13 @@ void setup(void) {
|
||||||
#endif
|
#endif
|
||||||
#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();
|
RtcPreInit();
|
||||||
SettingsInit();
|
SettingsInit();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue