zephyr/drivers/serial/Kconfig.stellaris
Kumar Gala 461b5018d3 serial: introduce SERIAL_SUPPORT_INTERRUPT Kconfig option
As not all drivers support interrupts we don't have a means to know if
we can allow UART_INTERRUPT_DRIVEN to be enabled and thus various
Kconfig options that select UART_INTERRUPT_DRIVEN.  Some drivers have a
interrupts, however not all do.  So introduce a Kconfig option to let us
know what the driver actually supports.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-06-29 07:07:31 -04:00

40 lines
1.1 KiB
Plaintext

menuconfig UART_STELLARIS
bool "Stellaris serial driver"
default n
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
This option enables the Stellaris serial driver.
This specific driver can be used for the serial hardware
available at the Texas Instrument LM3S6965 board.
# ---------- Port 0 ----------
menuconfig UART_STELLARIS_PORT_0
bool "Enable Stellaris UART Port 0"
default n
depends on UART_STELLARIS
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
# ---------- Port 1 ----------
menuconfig UART_STELLARIS_PORT_1
bool "Enable Stellaris UART Port 1"
default n
depends on UART_STELLARIS
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.
# ---------- Port 2 ----------
menuconfig UART_STELLARIS_PORT_2
bool "Enable Stellaris UART Port 2"
default n
depends on UART_STELLARIS
help
This tells the driver to configure the UART port at boot, depending on
the additional configure options below.