cac263ec3f
This snippet is based on samples/subsys/usb/console. Since it's a snippet, it can be used in any application as long as its requirements are met. This makes it more general purpose. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
18 lines
297 B
Plaintext
18 lines
297 B
Plaintext
/*
|
|
* Copyright (c) 2021, 2023 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,console = &snippet_cdc_acm_console_uart;
|
|
};
|
|
};
|
|
|
|
&zephyr_udc0 {
|
|
snippet_cdc_acm_console_uart: snippet_cdc_acm_console_uart {
|
|
compatible = "zephyr,cdc-acm-uart";
|
|
};
|
|
};
|