1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-15 01:32:19 +01:00

Disallow using UART2 for logger on ESP-32 variants that lack it (#2510)

This commit is contained in:
Oxan van Leeuwen
2021-10-13 22:21:43 +02:00
committed by GitHub
parent 867fecd157
commit 6bbb5e9b56
3 changed files with 15 additions and 6 deletions

View File

@@ -21,12 +21,16 @@ from esphome.core import CORE, HexInt
import esphome.config_validation as cv
import esphome.codegen as cg
from .const import (
from .const import ( # noqa
KEY_BOARD,
KEY_ESP32,
KEY_SDKCONFIG_OPTIONS,
KEY_VARIANT,
VARIANT_ESP32,
VARIANT_ESP32S2,
VARIANT_ESP32S3,
VARIANT_ESP32C3,
VARIANT_ESP32H2,
VARIANTS,
)