2016-03-18 01:24:45 +08:00
|
|
|
menuconfig UART_STELLARIS
|
2015-12-02 00:42:19 +08:00
|
|
|
bool "Stellaris serial driver"
|
|
|
|
default n
|
|
|
|
select SERIAL_HAS_DRIVER
|
|
|
|
help
|
|
|
|
This option enables the Stellaris serial driver.
|
|
|
|
This specific driver can be used for the serial hardware
|
2016-08-18 07:33:08 +08:00
|
|
|
available at the Texas Instrument LM3S6965 board.
|
2015-12-02 00:42:19 +08:00
|
|
|
|
|
|
|
# ---------- 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.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_0_NAME
|
|
|
|
string "Port 0 Device Name"
|
|
|
|
default "UART_0"
|
|
|
|
depends on UART_STELLARIS_PORT_0
|
|
|
|
help
|
|
|
|
This is the device name for UART, and is included in the device
|
|
|
|
struct.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_0_IRQ_PRI
|
|
|
|
int "Port 0 Interrupt Priority"
|
|
|
|
default 0
|
|
|
|
depends on UART_STELLARIS_PORT_0
|
|
|
|
help
|
|
|
|
The interrupt priority for UART port.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_0_BAUD_RATE
|
|
|
|
int "Port 0 Baud Rate"
|
|
|
|
default 0
|
|
|
|
depends on UART_STELLARIS_PORT_0
|
|
|
|
help
|
|
|
|
The baud rate for UART port to be set to at boot.
|
|
|
|
|
|
|
|
Leave at 0 to skip initialization.
|
|
|
|
|
|
|
|
# ---------- 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.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_1_NAME
|
|
|
|
string "Port 1 Device Name"
|
|
|
|
default "UART_1"
|
|
|
|
depends on UART_STELLARIS_PORT_1
|
|
|
|
help
|
|
|
|
This is the device name for UART, and is included in the device
|
|
|
|
struct.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_1_IRQ_PRI
|
|
|
|
int "Port 1 Interrupt Priority"
|
|
|
|
default 0
|
|
|
|
depends on UART_STELLARIS_PORT_1
|
|
|
|
help
|
|
|
|
The interrupt priority for UART port.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_1_BAUD_RATE
|
|
|
|
int "Port 1 Baud Rate"
|
|
|
|
default 0
|
|
|
|
depends on UART_STELLARIS_PORT_1
|
|
|
|
help
|
|
|
|
The baud rate for UART port to be set to at boot.
|
|
|
|
|
|
|
|
Leave at 0 to skip initialization.
|
|
|
|
|
|
|
|
# ---------- 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.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_2_NAME
|
|
|
|
string "Port 2 Device Name"
|
|
|
|
default "UART_2"
|
|
|
|
depends on UART_STELLARIS_PORT_2
|
|
|
|
help
|
|
|
|
This is the device name for UART, and is included in the device
|
|
|
|
struct.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_2_IRQ_PRI
|
|
|
|
int "Port 2 Interrupt Priority"
|
|
|
|
default 0
|
|
|
|
depends on UART_STELLARIS_PORT_2
|
|
|
|
help
|
|
|
|
The interrupt priority for UART port.
|
|
|
|
|
|
|
|
config UART_STELLARIS_PORT_2_BAUD_RATE
|
|
|
|
int "Port 2 Baud Rate"
|
|
|
|
default 0
|
|
|
|
depends on UART_STELLARIS_PORT_2
|
|
|
|
help
|
|
|
|
The baud rate for UART port to be set to at boot.
|
|
|
|
|
|
|
|
Leave at 0 to skip initialization.
|