1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 16:25:50 +00:00

[wifi] Allow use_psram with Arduino (#11902)

This commit is contained in:
Edward Firmo
2025-11-14 15:13:48 +01:00
committed by Jesse Hills
parent eb54c0026d
commit 7ce94c27fe

View File

@@ -12,7 +12,6 @@ from esphome.components.network import (
from esphome.components.psram import is_guaranteed as psram_is_guaranteed from esphome.components.psram import is_guaranteed as psram_is_guaranteed
from esphome.config_helpers import filter_source_files_from_platform from esphome.config_helpers import filter_source_files_from_platform
import esphome.config_validation as cv import esphome.config_validation as cv
from esphome.config_validation import only_with_esp_idf
from esphome.const import ( from esphome.const import (
CONF_AP, CONF_AP,
CONF_BSSID, CONF_BSSID,
@@ -352,7 +351,7 @@ CONFIG_SCHEMA = cv.All(
single=True single=True
), ),
cv.Optional(CONF_USE_PSRAM): cv.All( cv.Optional(CONF_USE_PSRAM): cv.All(
only_with_esp_idf, cv.requires_component("psram"), cv.boolean cv.only_on_esp32, cv.requires_component("psram"), cv.boolean
), ),
} }
), ),