ESP32 and ESP32-S3 No PSRAM builds

This commit is contained in:
iranl
2025-06-19 11:31:39 +02:00
parent b5ad96f747
commit 50081af326
23 changed files with 260 additions and 38 deletions

View File

@@ -101,7 +101,11 @@ void EthernetDevice::initialize()
// https://github.com/arendst/Tasmota/commit/f8fbe153000591727e40b5007e0de78c33833131
// https://github.com/arendst/Tasmota/commit/f8fbe153000591727e40b5007e0de78c33833131#diff-32fc0eefbf488dd507b3bef52189bbe37158737aba6f96fe98a8746dc5021955R417
uint32_t pkg_version = bootloader_common_get_chip_ver_pkg();
#if defined(CONFIG_SOC_SPIRAM_SUPPORTED) && defined(CONFIG_SPIRAM)
if(esp_psram_get_size() <= 0 && pkg_version <= 3)
#else
if(pkg_version <= 3)
#endif
{
esp_gpio_revoke(0xFFFFFFFFFFFFFFFF);
}