Skip to content

Commit a5031dd

Browse files
committed
samples/applications: remove option CONFIG_USB_UART_CONSOLE
Update sdk-zephyr revision to include the patches that resolve configuration dependency between console and shell and remove unnecessary option CONFIG_USB_UART_CONSOLE. Remove CONFIG_USB_UART_CONSOLE usage in the samples and applications or enable CONFIG_SHELL_BACKEND_SERIAL_CHECK_DTR. samples: openthread: check the compatibility of chosen property instead of usage of CONFIG_USB_UART_CONSOLE option. Signed-off-by: Johann Fischer <[email protected]>
1 parent 1a4555b commit a5031dd

File tree

20 files changed

+7
-28
lines changed

20 files changed

+7
-28
lines changed

applications/machine_learning/configuration/thingy53_nrf5340_cpuapp/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ CONFIG_USB_CDC_ACM=y
167167
CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
168168
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
169169

170-
# Use CDC_ACM_0 for UART console
171-
CONFIG_USB_UART_CONSOLE=y
172-
173170
################################################################################
174171
# Bootloader Configuration
175172

applications/machine_learning/configuration/thingy53_nrf5340_cpuapp_ns/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ CONFIG_USB_CDC_ACM=y
167167
CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
168168
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
169169

170-
# Use CDC_ACM_0 for UART console
171-
CONFIG_USB_UART_CONSOLE=y
172-
173170
################################################################################
174171
# Bootloader Configuration
175172

applications/matter_weather_station/configuration/thingy53_nrf5340_cpuapp/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ CONFIG_USB_DEVICE_PID=0x530D
118118
CONFIG_USB_CDC_ACM=y
119119
CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
120120
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
121-
CONFIG_USB_UART_CONSOLE=y
122121
CONFIG_UART_LINE_CTRL=y
123122
CONFIG_SHELL_BACKEND_SERIAL_INIT_PRIORITY=51
123+
CONFIG_SHELL_BACKEND_SERIAL_CHECK_DTR=y
124124

125125
# Configure Thingy:53 sensors
126126
CONFIG_I2C=y

samples/bluetooth/llpm/boards/nrf52840dongle_nrf52840.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
CONFIG_USB_DEVICE_STACK=y
22
CONFIG_USB_DEVICE_PRODUCT="LLPM sample console"
3-
CONFIG_USB_UART_CONSOLE=y
3+
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y
44

5+
CONFIG_UART_CONSOLE=y
56
CONFIG_UART_INTERRUPT_DRIVEN=y
67
CONFIG_UART_LINE_CTRL=y
78

samples/bluetooth/mesh/light/boards/thingy53_nrf5340_cpuapp.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
7979
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
8080

8181
# Use CDC_ACM0 for logs
82-
CONFIG_USB_UART_CONSOLE=y
8382
CONFIG_LOG_BACKEND_UART=y
8483
CONFIG_USE_SEGGER_RTT=n
8584
CONFIG_LOG_BACKEND_RTT=n

samples/bluetooth/mesh/light/boards/thingy53_nrf5340_cpuapp_ns.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
7979
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
8080

8181
# Use CDC_ACM0 for logs
82-
CONFIG_USB_UART_CONSOLE=y
8382
CONFIG_LOG_BACKEND_UART=y
8483
CONFIG_USE_SEGGER_RTT=n
8584
CONFIG_LOG_BACKEND_RTT=n

samples/bluetooth/mesh/light_ctrl/boards/thingy53_nrf5340_cpuapp.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
7979
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
8080

8181
# Use CDC_ACM0 for logs
82-
CONFIG_USB_UART_CONSOLE=y
8382
CONFIG_LOG_BACKEND_UART=y
8483
CONFIG_USE_SEGGER_RTT=n
8584
CONFIG_LOG_BACKEND_RTT=n

samples/bluetooth/mesh/light_ctrl/boards/thingy53_nrf5340_cpuapp_ns.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
7979
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
8080

8181
# Use CDC_ACM0 for logs
82-
CONFIG_USB_UART_CONSOLE=y
8382
CONFIG_LOG_BACKEND_UART=y
8483
CONFIG_USE_SEGGER_RTT=n
8584
CONFIG_LOG_BACKEND_RTT=n

samples/bluetooth/mesh/light_switch/boards/thingy53_nrf5340_cpuapp.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
8080
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
8181

8282
# Use CDC_ACM0 for logs
83-
CONFIG_USB_UART_CONSOLE=y
8483
CONFIG_LOG_BACKEND_UART=y
8584
CONFIG_USE_SEGGER_RTT=n
8685
CONFIG_LOG_BACKEND_RTT=n

samples/bluetooth/mesh/light_switch/boards/thingy53_nrf5340_cpuapp_ns.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR=y
8080
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
8181

8282
# Use CDC_ACM0 for logs
83-
CONFIG_USB_UART_CONSOLE=y
8483
CONFIG_LOG_BACKEND_UART=y
8584
CONFIG_USE_SEGGER_RTT=n
8685
CONFIG_LOG_BACKEND_RTT=n

0 commit comments

Comments
 (0)