zephyr/drivers/serial/Kconfig.esp32
Martin Jäger e448561f95 drivers: serial: esp32_usb: improve Kconfig documentation
Clarify that this driver does not use the Zephyr USB stack, but the
one built into the Espressif MCU.

Signed-off-by: Martin Jäger <martin@libre.solar>
2022-07-16 16:17:11 +00:00

32 lines
1,003 B
Text

# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_ESP32_UART := espressif,esp32-uart
config UART_ESP32
bool "ESP32 UART driver"
default $(dt_compat_enabled,$(DT_COMPAT_ESP32_UART))
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select GPIO_ESP32
depends on SOC_ESP32 || SOC_ESP32S2 || SOC_ESP32C3
help
Enable the ESP32 UART.
DT_COMPAT_ESP32_USB_SERIAL := espressif,esp32-usb-serial
config SERIAL_ESP32_USB
bool "ESP32 built-in USB serial driver"
default $(dt_compat_enabled,$(DT_COMPAT_ESP32_USB_SERIAL))
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
depends on SOC_ESP32C3
help
Enable the built-in USB serial interface present in some Espressif
MCUs like the ESP32-C3.
This driver uses the peripheral called USB Serial/JTAG Controller
(USB_SERIAL_JTAG), which acts as a CDC-ACM interface towards the
USB host. The USB stack is built into the chip and accessed
by the firmware through a simplified API similar to a "normal"
UART peripheral.