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:
@@ -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,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user