drivers: remove Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME
Remove Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
81603b6568
commit
bfd45e5b8c
3 changed files with 4 additions and 15 deletions
|
@ -319,7 +319,7 @@ device.
|
||||||
- Flash partition that the Zephyr image's text section should be linked
|
- Flash partition that the Zephyr image's text section should be linked
|
||||||
into
|
into
|
||||||
* - zephyr,console
|
* - zephyr,console
|
||||||
- Sets default :kconfig:`CONFIG_UART_CONSOLE_ON_DEV_NAME`
|
- Sets UART device used by console driver
|
||||||
* - zephyr,dtcm
|
* - zephyr,dtcm
|
||||||
- Data Tightly Coupled Memory node on some Arm SoCs
|
- Data Tightly Coupled Memory node on some Arm SoCs
|
||||||
* - zephyr,entropy
|
* - zephyr,entropy
|
||||||
|
|
|
@ -52,6 +52,8 @@ Removed APIs in this release
|
||||||
in favor of chosen node ``zephyr,ot-uart``.
|
in favor of chosen node ``zephyr,ot-uart``.
|
||||||
* Removed ``CONFIG_UART_MCUMGR_ON_DEV_NAME`` Kconfig option
|
* Removed ``CONFIG_UART_MCUMGR_ON_DEV_NAME`` Kconfig option
|
||||||
in favor of direct use of chosen node ``zephyr,uart-mcumgr``.
|
in favor of direct use of chosen node ``zephyr,uart-mcumgr``.
|
||||||
|
* Removed ``CONFIG_UART_CONSOLE_ON_DEV_NAME`` Kconfig option
|
||||||
|
in favor of direct use of chosen node ``zephyr,console``.
|
||||||
|
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
|
|
@ -6,18 +6,6 @@
|
||||||
|
|
||||||
# Setting shared by different subsystems
|
# Setting shared by different subsystems
|
||||||
|
|
||||||
# Workaround for not being able to have commas in macro arguments
|
|
||||||
DT_CHOSEN_Z_CONSOLE := zephyr,console
|
|
||||||
|
|
||||||
config UART_CONSOLE_ON_DEV_NAME
|
|
||||||
string "Device Name of UART Device for UART Console"
|
|
||||||
default "$(dt_chosen_label,$(DT_CHOSEN_Z_CONSOLE))" if HAS_DTS
|
|
||||||
default "UART_0"
|
|
||||||
depends on (UART_CONSOLE || CONSOLE_SUBSYS)
|
|
||||||
help
|
|
||||||
This option specifies the name of UART device to be used for
|
|
||||||
UART console.
|
|
||||||
|
|
||||||
menuconfig CONSOLE
|
menuconfig CONSOLE
|
||||||
bool "Console drivers"
|
bool "Console drivers"
|
||||||
|
|
||||||
|
@ -49,8 +37,7 @@ config UART_CONSOLE
|
||||||
depends on SERIAL && SERIAL_HAS_DRIVER
|
depends on SERIAL && SERIAL_HAS_DRIVER
|
||||||
select CONSOLE_HAS_DRIVER
|
select CONSOLE_HAS_DRIVER
|
||||||
help
|
help
|
||||||
Enable this option to use one UART for console. Make sure
|
Enable this option to use one UART for console.
|
||||||
CONFIG_UART_CONSOLE_ON_DEV_NAME is also set correctly.
|
|
||||||
|
|
||||||
config UART_CONSOLE_INIT_PRIORITY
|
config UART_CONSOLE_INIT_PRIORITY
|
||||||
int "Init priority"
|
int "Init priority"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue