mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 14:16:40 +00:00
[wifi] Disallow psram config with arduino (#9922)
This commit is contained in:
parent
14862904ac
commit
a2ed209542
@ -6,6 +6,7 @@ from esphome.components.esp32 import add_idf_sdkconfig_option, const, get_esp32_
|
|||||||
from esphome.components.network import IPAddress
|
from esphome.components.network import IPAddress
|
||||||
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,
|
||||||
@ -336,7 +337,7 @@ CONFIG_SCHEMA = cv.All(
|
|||||||
single=True
|
single=True
|
||||||
),
|
),
|
||||||
cv.Optional(CONF_USE_PSRAM): cv.All(
|
cv.Optional(CONF_USE_PSRAM): cv.All(
|
||||||
cv.requires_component("psram"), cv.boolean
|
only_with_esp_idf, cv.requires_component("psram"), cv.boolean
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user