Fix wifi ble coexistence check (#2573)

This commit is contained in:
Otto Winter 2021-10-21 12:24:01 +02:00 committed by GitHub
parent 7f34561e53
commit e39f314e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,8 +159,15 @@ def final_validate_power_esp32_ble(value):
"esp32_ble_server",
"esp32_ble_tracker",
]:
if conflicting not in fv.full_config.get():
continue
try:
cv.require_framework_version(esp32_arduino=cv.Version(1, 0, 5))(None)
# Only arduino 1.0.5+ and esp-idf impacted
cv.require_framework_version(
esp32_arduino=cv.Version(1, 0, 5),
esp_idf=cv.Version(4, 0, 0),
)(None)
except cv.Invalid:
pass
else: