1# Copyright (c) 2023-2024 Nordic Semiconductor ASA
2#
3# SPDX-License-Identifier: Apache-2.0
4
5config BOARD_REQUIRES_SERIAL_BACKEND_CDC_ACM
6	default y
7
8if BOARD_SERIAL_BACKEND_CDC_ACM
9
10config SERIAL
11	default y
12
13config CONSOLE
14	default y
15
16config UART_CONSOLE
17	default CONSOLE
18
19config SHELL_BACKEND_SERIAL_CHECK_DTR
20	default SHELL
21	depends on UART_LINE_CTRL
22
23config UART_LINE_CTRL
24	default SHELL
25
26config USB_DEVICE_STACK
27	default y
28
29config USB_DEVICE_INITIALIZE_AT_BOOT
30	default y if !MCUBOOT
31
32config USB_DEVICE_REMOTE_WAKEUP
33	default n
34
35if LOG
36
37choice USB_CDC_ACM_LOG_LEVEL_CHOICE
38	default USB_CDC_ACM_LOG_LEVEL_OFF
39endchoice
40
41choice USB_DEVICE_LOG_LEVEL_CHOICE
42	default USB_DEVICE_LOG_LEVEL_OFF
43endchoice
44
45# Wait 4000ms at startup for logging
46config LOG_PROCESS_THREAD_STARTUP_DELAY_MS
47	default 4000
48
49endif # LOG
50
51endif # BOARD_SERIAL_BACKEND_CDC_ACM
52