zephyr/drivers/serial/Kconfig
David B. Kinder ac74d8b652 license: Replace Apache boilerplate with SPDX tag
Replace the existing Apache 2.0 boilerplate header with an SPDX tag
throughout the zephyr code tree. This patch was generated via a
script run over the master branch.

Also updated doc/porting/application.rst that had a dependency on
line numbers in a literal include.

Manually updated subsys/logging/sys_log.c that had a malformed
header in the original file.  Also cleanup several cases that already
had a SPDX tag and we either got a duplicate or missed updating.

Jira: ZEP-1457

Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-01-19 03:50:58 +00:00

83 lines
1.6 KiB
Plaintext

# Kconfig - serial driver configuration options
#
# Copyright (c) 2014-2015 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig SERIAL
bool
prompt "Serial Drivers"
default n
help
Enable options for serial drivers.
if SERIAL
comment "Capabilities"
config SERIAL_HAS_DRIVER
bool
default n
help
This is an option to be enabled by individual serial driver
to signal that there is a serial driver. This is being used
by other drivers which are dependent on serial.
config UART_INTERRUPT_DRIVEN
bool
prompt "Enable UART Interrupt support"
default n
help
This option enables interrupt support for UART allowing console
input and other UART based drivers.
config UART_LINE_CTRL
bool "Enable Serial Line Control API"
default n
help
This enables the API for apps to control the serial line,
such as baud rate, CTS and RTS.
Implementation is up to individual driver.
Says no if not sure.
config UART_DRV_CMD
bool "Enable driver commands API"
default n
help
This enables the API to send extra commands to drivers.
This allows drivers to expose hardware specific functions.
Says no if not sure.
comment "Serial Drivers"
source "drivers/serial/Kconfig.ns16550"
source "drivers/serial/Kconfig.k20"
source "drivers/serial/Kconfig.stellaris"
source "drivers/serial/Kconfig.nsim"
source "drivers/serial/Kconfig.atmel_sam3"
source "drivers/serial/Kconfig.qmsi"
source "drivers/serial/Kconfig.stm32"
source "drivers/serial/Kconfig.nrf5"
source "drivers/serial/Kconfig.altera_jtag"
source "drivers/serial/Kconfig.cc32xx"
source "drivers/serial/Kconfig.cmsdk_apb"
source "drivers/serial/Kconfig.riscv_qemu"
endif