File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
applications/connectivity_bridge Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2021 Nordic Semiconductor ASA
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &zephyr_udc0 {
8+ cdc_acm_uart0 {
9+ compatible = "zephyr,cdc-acm-uart";
10+ label = "CDC_ACM_0";
11+ };
12+
13+ cdc_acm_uart1 {
14+ compatible = "zephyr,cdc-acm-uart";
15+ label = "CDC_ACM_1";
16+ };
17+ };
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ CONFIG_USB_DEVICE_PID=0x9100
2525CONFIG_USB_DEVICE_SN="THINGY91 12PLACEHLDRS" # This is overridden at runtime
2626CONFIG_USB_COMPOSITE_DEVICE=y
2727CONFIG_USB_CDC_ACM_RINGBUF_SIZE=16384
28- CONFIG_USB_CDC_ACM_DEVICE_COUNT=2
2928
3029# Disk and file system
3130CONFIG_DISK_ACCESS=y
Original file line number Diff line number Diff line change 1717#include <logging/log.h>
1818LOG_MODULE_REGISTER (MODULE , CONFIG_BRIDGE_CDC_LOG_LEVEL );
1919
20- #define CDC_DEVICE_COUNT CONFIG_USB_CDC_ACM_DEVICE_COUNT
21- #define CDC_DEVICE_NAME_TEMPLATE CONFIG_USB_CDC_ACM_DEVICE_NAME "_ %d"
20+ #define CDC_DEVICE_COUNT 2
21+ #define CDC_DEVICE_NAME_TEMPLATE "CDC_ACM_ %d"
2222
2323#define USB_CDC_DTR_POLL_MS 500
2424#define USB_CDC_RX_BLOCK_SIZE CONFIG_BRIDGE_BUF_SIZE
You can’t perform that action at this time.
0 commit comments