zephyr/drivers/serial/Kconfig.nsim
Daniel Leung a0a140f470 uart/nsim: Make config for uart/nsim explicit
This adds CONFIG_UART_NSIM to enable the uart/nsim driver.
This fixes compilation issue where the base address parameter
is not defined due to CONFIG_NSIM=y but CONFIG_SERIAL=n.

Change-Id: I1dc1c15b22ad174d4db514d89551780f0dfcae66
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:24:57 -05:00

25 lines
564 B
Plaintext

config UART_NSIM
bool "UART driver for MetaWare nSim"
default n
depends on NSIM && SERIAL
help
This enables the UART driver for the MetaWare nSim simulator.
config UART_NSIM_PORT_0_NAME
string "Port 0 Device Name"
default "UART_0"
depends on UART_NSIM
help
This is the device name for UART, and is included in the device
struct.
config UART_NSIM_PORT_0_BASE_ADDR
hex
prompt "Port 0 Register Address"
default 0x00000000
depends on UART_NSIM
help
The base address of UART port.
Leave this at 0x00000000 to skip initialization at boot.