2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-10-12 22:10:05 +08:00
|
|
|
|
|
|
|
DT_COMPAT_ESP32_UART := espressif,esp32-uart
|
|
|
|
|
2019-10-22 07:04:04 +08:00
|
|
|
config UART_ESP32
|
2017-05-11 08:12:12 +08:00
|
|
|
bool "ESP32 UART driver"
|
2021-10-12 22:10:05 +08:00
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_ESP32_UART))
|
2017-05-11 08:12:12 +08:00
|
|
|
select SERIAL_HAS_DRIVER
|
2019-08-22 05:54:00 +08:00
|
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
|
|
select GPIO_ESP32
|
2021-10-19 04:19:25 +08:00
|
|
|
depends on SOC_ESP32 || SOC_ESP32S2 || SOC_ESP32C3
|
2017-05-11 08:12:12 +08:00
|
|
|
help
|
2021-10-28 12:16:33 +08:00
|
|
|
Enable the ESP32 UART.
|