Skip to content

Commit 7266123

Browse files
author
Felipe Neves
committed
boards: disco_l475_iot1: add zephyr UDC0 nodelabel
replacing the CONFIG_USB symbol dropped in version 2.6 Signed-off-by: Felipe Neves <[email protected]>
1 parent af8165d commit 7266123

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

boards/disco_l475_iot1.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
CONFIG_USB=y
21
CONFIG_USB_DEVICE_STACK=y
32
CONFIG_USB_DEVICE_PRODUCT="Zephyr micro-ROS"
43
CONFIG_LOG=y

boards/disco_l475_iot1.overlay

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,14 @@
77
&usart1 {
88
status = "okay";
99
};
10+
11+
zephyr_udc0: &usbotg_fs {
12+
status = "okay";
13+
};
14+
15+
&zephyr_udc0 {
16+
cdc_acm_uart0: cdc_acm_uart0 {
17+
compatible = "zephyr,cdc-acm-uart";
18+
label = "CDC_ACM_0";
19+
};
20+
};

0 commit comments

Comments
 (0)