2015-05-21 00:40:39 +08:00
|
|
|
# Kconfig - serial driver configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2015-05-21 00:40:39 +08:00
|
|
|
#
|
|
|
|
|
2015-08-12 11:22:49 +08:00
|
|
|
menuconfig SERIAL
|
|
|
|
bool
|
|
|
|
prompt "Serial Drivers"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable options for serial drivers.
|
2015-05-21 00:40:39 +08:00
|
|
|
|
2015-08-12 11:22:49 +08:00
|
|
|
if SERIAL
|
2015-05-26 22:25:55 +08:00
|
|
|
|
2016-03-18 01:24:45 +08:00
|
|
|
comment "Capabilities"
|
|
|
|
|
2015-08-13 01:33:56 +08:00
|
|
|
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.
|
|
|
|
|
2015-12-11 05:29:57 +08:00
|
|
|
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.
|
|
|
|
|
2016-01-07 01:17:03 +08:00
|
|
|
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.
|
|
|
|
|
2016-03-18 01:24:45 +08:00
|
|
|
comment "Serial Drivers"
|
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
source "drivers/serial/Kconfig.ns16550"
|
2015-08-06 03:13:36 +08:00
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
source "drivers/serial/Kconfig.k20"
|
2015-03-19 06:24:43 +08:00
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
source "drivers/serial/Kconfig.stellaris"
|
2015-05-26 22:25:55 +08:00
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
source "drivers/serial/Kconfig.nsim"
|
|
|
|
|
2016-01-21 13:10:59 +08:00
|
|
|
source "drivers/serial/Kconfig.atmel_sam3"
|
|
|
|
|
2016-02-27 01:51:28 +08:00
|
|
|
source "drivers/serial/Kconfig.qmsi"
|
|
|
|
|
2016-03-03 22:33:20 +08:00
|
|
|
source "drivers/serial/Kconfig.stm32"
|
|
|
|
|
2015-08-12 11:22:49 +08:00
|
|
|
endif
|