Skip to content

Commit

Permalink
usb: remove Kconfig option USB_UART_CONSOLE
Browse files Browse the repository at this point in the history
Since there are no more users and dependencies of
Kconfig option USB_UART_CONSOLE in the tree,
remove the remains and the option USB_UART_CONSOLE.

Signed-off-by: Johann Fischer <[email protected]>
  • Loading branch information
jfischer-no authored and carlescufi committed Nov 18, 2021
1 parent b573d8d commit fdcc104
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
3 changes: 0 additions & 3 deletions doc/reference/usb/uds_cdc_acm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ Console over CDC ACM UART
With the CDC ACM UART node from above and ``zephyr,console`` property of the
chosen node, we can describe that CDC ACM UART is to be used with the console.
A similar overlay file is used by :ref:`cdc-acm-console`.
If USB device support is enabled in the application, as in the console sample,
:kconfig:`CONFIG_USB_UART_CONSOLE` must be enabled,
which does nothing but change the initialization time of the console driver.

.. code-block:: devicetree
Expand Down
6 changes: 6 additions & 0 deletions doc/releases/release-notes-3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ Removed APIs in this release:
devicetree binding's ``fem`` property for information on what to do instead
on the Nordic open source controller.

* Removed Kconfig option ``CONFIG_USB_UART_CONSOLE``.
Option ``CONFIG_USB_UART_CONSOLE`` was only relevant for console driver
when CDC ACM UART is used as backend. Since the behavior of the CDC ACM UART
is changed so that it more closely mimics the real UART controller,
option is no longer necessary.

Stable API changes in this release
==================================

Expand Down
9 changes: 0 additions & 9 deletions drivers/console/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@ config UART_CONSOLE_INPUT_EXPIRED_TIMEOUT
Fixed amount of time which unit is milliseconds to keep the UART
console in use flag true.

config USB_UART_CONSOLE
bool "Use USB port for console outputs"
select UART_CONSOLE
select USB_CDC_ACM
help
Enable this option to use the USB CDC ACM class for console.
As for the console driver, this option only changes the initialization
level.

config RAM_CONSOLE
bool "Use RAM console"
select CONSOLE_HAS_DRIVER
Expand Down
1 change: 0 additions & 1 deletion subsys/shell/backends/Kconfig.backends
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ config SHELL_BACKEND_SERIAL_RX_POLL_PERIOD

config SHELL_BACKEND_SERIAL_CHECK_DTR
bool "Check DTR signal before TX"
default y if USB_UART_CONSOLE
depends on UART_LINE_CTRL
help
Check DTR signal before TX.
Expand Down

0 comments on commit fdcc104

Please sign in to comment.