Skip to content

Commit

Permalink
boards: move board specific configurations
Browse files Browse the repository at this point in the history
to its own directory.

Signed-off-by: Felipe <[email protected]>
  • Loading branch information
Felipe committed Jul 26, 2022
1 parent 8852ac9 commit d06e442
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions boards/disco_l475_iot1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr micro-ROS"
CONFIG_LOG=y
CONFIG_USB_CDC_ACM=y
6 changes: 6 additions & 0 deletions boards/disco_l475_iot1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
5 changes: 0 additions & 5 deletions prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ CONFIG_APP_LINK_WITH_POSIX_SUBSYS=y
CONFIG_POSIX_CLOCK=y

CONFIG_STDOUT_CONSOLE=y
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr micro-ROS"
CONFIG_LOG=y
CONFIG_USB_CDC_ACM=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y
Expand Down

0 comments on commit d06e442

Please sign in to comment.