Skip to content

Commit d06e442

Browse files
author
Felipe
committed
boards: move board specific configurations
to its own directory. Signed-off-by: Felipe <[email protected]>
1 parent 8852ac9 commit d06e442

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

boards/disco_l475_iot1.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_USB_DEVICE_STACK=y
2+
CONFIG_USB_DEVICE_PRODUCT="Zephyr micro-ROS"
3+
CONFIG_LOG=y
4+
CONFIG_USB_CDC_ACM=y

boards/disco_l475_iot1.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
&zephyr_udc0 {
2+
cdc_acm_uart0: cdc_acm_uart0 {
3+
compatible = "zephyr,cdc-acm-uart";
4+
label = "CDC_ACM_0";
5+
};
6+
};

prj.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ CONFIG_APP_LINK_WITH_POSIX_SUBSYS=y
1414
CONFIG_POSIX_CLOCK=y
1515

1616
CONFIG_STDOUT_CONSOLE=y
17-
CONFIG_USB=y
18-
CONFIG_USB_DEVICE_STACK=y
19-
CONFIG_USB_DEVICE_PRODUCT="Zephyr micro-ROS"
20-
CONFIG_LOG=y
21-
CONFIG_USB_CDC_ACM=y
2217
CONFIG_SERIAL=y
2318
CONFIG_UART_INTERRUPT_DRIVEN=y
2419
CONFIG_UART_LINE_CTRL=y

0 commit comments

Comments
 (0)