mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 18:47:26 +00:00
Consistently use config FOO bool/int/hex/string "Prompt text" instead of config FOO bool/int/hex/string prompt "Prompt text" (...and a bunch of other variations that e.g. swapped the order of the type and the 'prompt', or put other properties between them). The shorthand is fully equivalent to using 'prompt'. It saves lines and avoids tricking people into thinking there is some semantic difference. Most of the grunt work was done by a modified version of https://unix.stackexchange.com/questions/26284/ how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some of the rarer variations had to be converted manually. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
24 lines
563 B
Plaintext
24 lines
563 B
Plaintext
config UART_NSIM
|
|
bool "UART driver for MetaWare nSim"
|
|
select SERIAL_HAS_DRIVER
|
|
depends on 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 "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.
|