Skip to content

Commit a080154

Browse files
finikorgjukkar
authored andcommitted
samples: net: dumb_http_server: Add netusb configuration
Add configuration for netusb. Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent 6b9f0df commit a080154

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# USB Device settings
2+
CONFIG_USB=y
3+
CONFIG_USB_DEVICE_STACK=y
4+
5+
# Select USB Configurations
6+
CONFIG_USB_DEVICE_NETWORK_ECM=y
7+
8+
# Logging
9+
CONFIG_USB_DRIVER_LOG_LEVEL_INF=y
10+
CONFIG_USB_DEVICE_LOG_LEVEL_INF=y

samples/net/sockets/dumb_http_server/sample.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ tests:
1616
extra_configs:
1717
- CONFIG_NET_SOCKETS_POSIX_NAMES=n
1818
- CONFIG_POSIX_API=y
19+
sample.net.sockets.dumb_http_server.netusb:
20+
depends_on: usb_device
21+
harness: net
22+
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
23+
tags: usb

0 commit comments

Comments
 (0)