diff --git a/doc/reference/usb/uds_cdc_acm.rst b/doc/reference/usb/uds_cdc_acm.rst index 94851ea3c2cd92..2e083575d1456b 100644 --- a/doc/reference/usb/uds_cdc_acm.rst +++ b/doc/reference/usb/uds_cdc_acm.rst @@ -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 diff --git a/doc/releases/release-notes-3.0.rst b/doc/releases/release-notes-3.0.rst index 907aee73c34235..bb765ecb83e85d 100644 --- a/doc/releases/release-notes-3.0.rst +++ b/doc/releases/release-notes-3.0.rst @@ -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 ================================== diff --git a/drivers/console/Kconfig b/drivers/console/Kconfig index f3a7a45bf84148..66bdf069ed0724 100644 --- a/drivers/console/Kconfig +++ b/drivers/console/Kconfig @@ -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 diff --git a/subsys/shell/backends/Kconfig.backends b/subsys/shell/backends/Kconfig.backends index 1a054f6e270556..6e902f62408c9a 100644 --- a/subsys/shell/backends/Kconfig.backends +++ b/subsys/shell/backends/Kconfig.backends @@ -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.