zephyr/drivers/serial/Kconfig.esp32
Marek Matej 6b57b3b786 soc: xtensa,riscv: esp32xx: refactor folder structure
Refactor the ESP32 target SOCs together with
all related boards. Most braking changes includes:

- changing the CONFIG_SOC_ESP32* to refer to
  the actual soc line (esp32,esp32s2,esp32s3,esp32c3)
- replacing CONFIG_SOC with the CONFIG_SOC_SERIES
- creating CONFIG_SOC_FAMILY_ESP32 to embrace all
  the ESP32 across all used architectures
- introducing CONFIG_SOC_PART_NUMBER_* to
  provide a SOC model config
- introducing the 'common' folder to hide all
  commonly used configs and files.
- updating west.yml to reflect previous changes in hal

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2023-07-25 18:12:33 +02:00

30 lines
908 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
config UART_ESP32
bool "ESP32 UART driver"
default y
depends on DT_HAS_ESPRESSIF_ESP32_UART_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select SERIAL_SUPPORT_ASYNC if (SOC_SERIES_ESP32C3 || SOC_SERIES_ESP32S3)
select GPIO_ESP32
help
Enable the ESP32 UART.
config SERIAL_ESP32_USB
bool "ESP32 built-in USB serial driver"
default y
depends on DT_HAS_ESPRESSIF_ESP32_USB_SERIAL_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
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.