1# SPDX-License-Identifier: Apache-2.0
2
3
4config UART_ESP32
5	bool "ESP32 UART driver"
6	default y
7	depends on DT_HAS_ESPRESSIF_ESP32_UART_ENABLED
8	select SERIAL_HAS_DRIVER
9	select SERIAL_SUPPORT_INTERRUPT
10	select SERIAL_SUPPORT_ASYNC if (SOC_SERIES_ESP32C3 || SOC_SERIES_ESP32S3)
11	select GPIO_ESP32
12	help
13	  Enable the ESP32 UART.
14
15config SERIAL_ESP32_USB
16	bool "ESP32 built-in USB serial driver"
17	default y
18	depends on DT_HAS_ESPRESSIF_ESP32_USB_SERIAL_ENABLED
19	select SERIAL_HAS_DRIVER
20	select SERIAL_SUPPORT_INTERRUPT
21	help
22	  Enable the built-in USB serial interface present in some Espressif
23	  MCUs like the ESP32-C3.
24
25	  This driver uses the peripheral called USB Serial/JTAG Controller
26	  (USB_SERIAL_JTAG), which acts as a CDC-ACM interface towards the
27	  USB host. The USB stack is built into the chip and accessed
28	  by the firmware through a simplified API similar to a "normal"
29	  UART peripheral.
30